Get/Post variables not showing under windows
From: Guillaume Dargaud (noNOspamSP_at_Mgdargaud.net)
Date: 08/30/04
- Next message: CJ Llewellyn: "Re: mysql update/replace syntax"
- Previous message: Agathe: "insertion de donnees dans une table MySQL a partir d'un fichier texte"
- Next in thread: Berislav Lopac: "Re: Get/Post variables not showing under windows"
- Reply: Berislav Lopac: "Re: Get/Post variables not showing under windows"
- Reply: Tony Marston: "Re: Get/Post variables not showing under windows"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 30 Aug 2004 10:23:43 +0200
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."
- Next message: CJ Llewellyn: "Re: mysql update/replace syntax"
- Previous message: Agathe: "insertion de donnees dans une table MySQL a partir d'un fichier texte"
- Next in thread: Berislav Lopac: "Re: Get/Post variables not showing under windows"
- Reply: Berislav Lopac: "Re: Get/Post variables not showing under windows"
- Reply: Tony Marston: "Re: Get/Post variables not showing under windows"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|