Try this code
$id=$_REQUEST['id'];
echo $id;
I find it working well.
Santosh
----- Original Message -----
From: "Ruprecht Helms" <rhelms@xxxxxxxxxxxx>
To: <php-db@xxxxxxxxxxxxx>
Sent: Monday, August 06, 2007 2:52 PM
Subject: 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
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php