RE: [PHP] IIS5 and PHP4 problems
| From: | John Holmes | Date: | Tue, 16 Jul 2002 11:22:14 +0000 |
| Subject: | RE: [PHP] IIS5 and PHP4 problems | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-107838@lists.php.net to get a copy of this message | ||
How about a little reading of the manual...
Use $_GET for the URL or $_REQUEST if you want it to cover get, post,
and cookie data...
---John Holmes...
> -----Original Message-----
> From: Peter Stöcker [mailto:peter.stoecker@ulm-photonics.de]
> Sent: Tuesday, July 16, 2002 7:15 AM
> To: php-general@lists.php.net
> Subject: AW: [PHP] IIS5 and PHP4 problems
>
> 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
>