Re: Problem with reading out value from urlline
| From: | santosh | Date: | Mon, 06 Aug 2007 09:54:19 +0000 |
| Subject: | Re: Problem with reading out value from urlline | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-43888@lists.php.net to get a copy of this message | ||
Try this code
$id=$_REQUEST['id'];
echo $id;
I find it working well.
Santosh
----- Original Message ----- From: "Ruprecht Helms" <rhelms@rheynmail.de>
To: <php-db@lists.php.net>
Sent: Monday, August 06, 2007 2:52 PM
Subject: [PHP-DB] Problem with reading out value from urlline
Hi, I have the problem that a phpscript is not able to read out a value from the browserline. In the browserline I have the URL <domain>/<page>?id=<value>. The id-Value I want to process within the script but a echo $id shows me no value. The Php-Surrounding is very secured. Formfields and variables that schould be part of a mysqldatabase must be escaped by the mysql_real_escape_string-command. What is the right command to get the value from the browserline. Regards, Ruprecht ---------------------------------------------------------------------- Ruprecht Helms IT-Service & Softwaredevelopment Web: <a href="http://www.rheyn.de>Ruprecht Helms IT-Service & Softwareentwicklung, Loerrach</a> -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/935 - Release Date: 8/3/2007 5:46 PM