Re: Problem with reading out value from urlline

From: Date: Mon, 06 Aug 2007 09:57:31 +0000
Subject: Re: Problem with reading out value from urlline
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-43889@lists.php.net to get a copy of this message
Hi, you should do it like this <?php $id = $_GET['id']; // <-- getting var from the url line echo $id; ?> - Aleksandar Ruprecht Helms wrote:
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>


« previous php.db (#43889) next »