RE: [PHP] Newbie : How work with parameters?
| From: | Rich Gray | Date: | Wed, 27 Nov 2002 09:58:12 +0000 |
| Subject: | RE: [PHP] Newbie : How work with parameters? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126255@lists.php.net to get a copy of this message | ||
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:s.genin@ideotechnologies.com]
Sent: 27 November 2002 08:58
To: php-general@lists.php.net
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