ID: 10043
Updated by: torben
Old-Status: Open
Status: Feedback
Bug Type: *Web Server problem
Assigned To: 

What happens if you test $HTTP_POST_VARS['submit'] instead of  just $submit? Sounds to 
me like you don't have register_globals turned on in php.ini. Can you check that 
(also, make sure your test isn't happening inside any function) and post your results 
back here? 



Previous Comments:

[2001-03-28 17:11:26] [EMAIL PROTECTED]
Seems as though the action handler doesn't work.  PHP page is coded as its won form 
handler.  Hitting "submit" simply reloads page with all the form variables not set.

No errors either... I tried on Apache 1.3.x / IIS4.0 both CGI and ISAPI.

if ($submit=='')  {
   echo <<<EOT
<html><head><link rel="stylesheet" type="text/css" href="cbox-exp.css"></head>
<FORM method=post action=cutsheet.php>


<BUTTON type="submit" NAME="submit" value="submit">Submit</BUTTON></FORM>

else  {
  #begin form handler...
  echo "Made it!";



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to