Page 2 of 3
Posted: Thu Oct 27, 2005 5:57 pm
by rajan
$_POSt[email] is also not show the value. i think it is also not need
Posted: Thu Oct 27, 2005 6:17 pm
by Burrito
ok and the print_r of the array?
Posted: Thu Oct 27, 2005 6:24 pm
by rajan
Array ( [radiobutton] => 1 hours [Submit] => Use Account [prosel] => TRUE
Posted: Thu Oct 27, 2005 6:30 pm
by rajan
session variable on website server
first value is local value and second one is master value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /tmp /tmp
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid On On
Posted: Thu Oct 27, 2005 6:35 pm
by Burrito
well I think we've narrowed it down to not being a session problem.
seems weird that you're getting some of the posted values across but not all of them. I did notice that you have some $_GET vars on there too...which leads me to ask, are you sure you're "posting" the form, which I'll answer myself, apparently so: since the print out of the POST array is showing information.
the printout seems to indicate that the values that are being passed are checkboxes, submits and / or radio buttons.
try adding another text field on your form and submitting it and see if you can echo its value.
I'm starting to draw blanks as to what your problem might be at this point. Could be some kind of register globals issue, but doesn't sound like it....
Posted: Thu Oct 27, 2005 6:44 pm
by rajan
my question what the cause of same program is running on my localhost well but on live website there is a problem. my dear
Burrito
u couldn't catch the actual problem
Posted: Thu Oct 27, 2005 6:47 pm
by Burrito
rajan wrote: my dear
Burrito
u couldn't catch the actual problem
nope I could not....
Posted: Thu Oct 27, 2005 6:53 pm
by RobertGonzalez
rajan wrote:Array ( [radiobutton] => 1 hours [Submit] => Use Account [prosel] => TRUE
Is this the complete print_r of the POST array? It doesn't seem like it is closed.
Posted: Thu Oct 27, 2005 6:53 pm
by rajan
not solved wrote:my question what the cause of same program is running on my localhost well but on live website there is a problem. my dear
Burrito
u couldn't catch the actual problem
Posted: Thu Oct 27, 2005 6:56 pm
by rajan
i have give all information completely . i am tired to give infornation but not find any solution
Posted: Thu Oct 27, 2005 6:56 pm
by RobertGonzalez
Rajan,
In your original code you are using this HTML...
Code: Select all
<input type="textfield" name="txtEmail">
Try changing that to...
Code: Select all
<input type="text" name="txtEmail">
See if that passes the txtEmail data.
Posted: Thu Oct 27, 2005 6:59 pm
by RobertGonzalez
And try something with this...
Code: Select all
if(isset($_POST['hid']) or isset($_SESSION['email']))
{
$email=$_POST['txtEmail'];
if(!is_null($email))
{
$_SESSION['email']=$email;
}
Maybe along the lines of...
Code: Select all
if(!isset($_SESSION['email']) || isset($_POST['txtEmail']))
{
$email=$_POST['txtEmail'];
if(!empty($email))
{
$_SESSION['email']=$email;
}
See if any of this helps.
Posted: Thu Oct 27, 2005 7:01 pm
by rajan
no it does not help .
Posted: Thu Oct 27, 2005 7:30 pm
by Chris Corbyn
I can't believe nobody's said to put
at the top of the script

Posted: Fri Oct 28, 2005 3:41 pm
by rajan
when i click use account it give following error message
Notice: Undefined index: txtEmail in /home/www/livepcdoctor.com/pcdoctor/operator/account1.php on line 227
Array ( [radiobutton] => 1 hours [Submit] => Use Account [prosel] => TRUE )
Notice: Undefined index: txtEmail in /home/www/livepcdoctor.com/pcdoctor/operator/account1.php on line 265
when i click on stop timer i get the following error message
Notice: Undefined index: txtEmail in /home/www/livepcdoctor.com/pcdoctor/operator/account1.php on line 265
i am tired to find the solution. can i make this on other way
