Stephane

http://www.php.net/manual/en/security.registerglobals.php

http://www.php.net/manual/en/faq.php

Substitute 'fr' for 'en' if your prefer it en francais

Use: $_GET['id'] or $_REQUEST['id']

Ciao
Rich
-----Original Message-----
From: Stéphane Génin [mailto:[EMAIL PROTECTED]]
Sent: 27 November 2002 08:58
To: [EMAIL PROTECTED]
Subject: [PHP] Newbie : How work with parameters?


Hello,

I want to read the parameters in the URL, but I can't find the right way to
do that. I've tried several things :

my URL is:  http://localhost/test.php?id=abc

I tried to use the $id, but in this case, I have a notice with 'undefined
variable'.
I have the same problem if I try the variable $QUERY_STRING (still undefined
variable).

Do you know what is the best way to read this parameters?

Many thanks
Stéphane



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to