Hello all,
I'm quite rusty with PHP and have a little issue.
A script transmit parameters to itself through a simple form. It works fine when I run it on a
production server (Linux+Apache+PHP4).
When I run the same script on my development machine (Win2K+Apache2+PHP5) the submited variables
don't show.
Here's some simplified code:
<HTML>
<BODY>
<?php
print_r ($_SERVER);
print_r ($submit);
switch ($submit) {
// ...
}
?>
<FORM METHOD=Get>Display content of:<BR>
<INPUT TYPE=submit NAME=submit VALUE=APACD1>
<INPUT TYPE=submit NAME=submit VALUE=APACD2>
// ...
</FORM>
</BODY>
</HTML>
In the $_SERVER I see a correct query string with $submit.
I'm thinking about some server misconfig on windows.
--
Guillaume Dargaud
http://www.gdargaud.net/
"A closed mouth gathers no feet."