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:[EMAIL PROTECTED]] > Sent: Tuesday, July 16, 2002 7:15 AM > To: [EMAIL PROTECTED] > 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:[EMAIL PROTECTED]] > Gesendet: Dienstag, 16. Juli 2002 12:30 > An: Peter Stöcker > Cc: [EMAIL PROTECTED] > 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:[EMAIL PROTECTED] > http://www.shakira-online.net > http://www.xtina.pl > http://www.jessica.prv.pl > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php