If register_globals is off

echo $_GET['sort'];
echo $_GET['var2'];

Greg
--
phpDocumentor
http://www.phpdoc.org

Ashley M. Kirchner wrote:
Benny Pedersen wrote:

how do i get var from a url like this one

http://localhost/index.php?sort=name&var2=login



In index.php:


   echo $sort;
   echo $var2;



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



Reply via email to