AW: [PHP] IIS5 and PHP4 problems
| From: | Peter Stöcker | Date: | Tue, 16 Jul 2002 11:14:34 +0000 |
| Subject: | AW: [PHP] IIS5 and PHP4 problems | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-107836@lists.php.net to get a copy of this message | ||
Hi!
The register_globals are "on".
But using $_POST will cause some problems, because I also use generated
links like "test.php?id=4&usr=test" without using a form!
So I don't get the variables by both these genrated links and forms.
Bye,
Peter
-----Ursprüngliche Nachricht-----
Von: Nookie [mailto:nookie@xtina.pl]
Gesendet: Dienstag, 16. Juli 2002 12:30
An: Peter Stöcker
Cc: php-general@lists.php.net
Betreff: Re: [PHP] IIS5 and PHP4 problems
Hello Peter,
Tuesday, July 16, 2002, 12:28:06 PM, you wrote:
PS> Hi there!
PS> I have a problem with the IIS5.
PS> After I have installed PHP4 following the instruction on php.net,
everything
PS> works fine instead of handling forms.
PS> Each variable deliverd by a form (e.g. test.php?id=5) is empty (id==""
is
PS> true).
PS> Can anybody help??
Check your php.ini -> register_globals ...
Try use $HTTP_POST_VARS['id'] or $_POST['id']
--
Pozdrowienia,
Nookie mailto:nookie@xtina.pl
http://www.shakira-online.net
http://www.xtina.pl
http://www.jessica.prv.pl