View Single Post
Old 09-09-2005, 06:57 PM   #1 (permalink)
vvaldir
Junior Member
 
Join Date: Jul 2005
Posts: 18
Default PHP - Retrieve information from URL string

In ASP or ASP.Net I can get variables from the url by using Request.Querystring("VariableName").

Right now I am trying to check if a variable exists in the URL using PHP.
Here is my code that is NOT working.
PHP Code:
if(is_null($_GET['u']))
{
//Do this
}
else
{
//Do something


thanks
vvaldir is offline   Reply With Quote
Sponsored Links