bilis_money Posted July 1, 2006 Share Posted July 1, 2006 yo!ok, i don't have a problem here to figure out it's just the name of the topic that i want to know.as you can see with this [code]http://www.domain-name.com/photos/img_info.php?current_file=tae[/code]so i want to know here is the assignment of the values into the variables on the address bar what do they call on this topic?specially this --> [code]/photos/img_info.php?current_file=tae[/code]what is the name of this particular assignment on the address bar?the name of the assignment? what is this subject?thank you very much in advance. Quote Link to comment https://forums.phpfreaks.com/topic/13394-what-is-the-name-of-this-php-topic/ Share on other sites More sharing options...
michaellunsford Posted July 1, 2006 Share Posted July 1, 2006 $_SERVER['PHP_SELF'] should return "/photos/img_info.php?current_file=tae"hope that's what you're looking for.if not, here's the complete list of reserved variableshttp://us2.php.net/manual/en/reserved.variables.php Quote Link to comment https://forums.phpfreaks.com/topic/13394-what-is-the-name-of-this-php-topic/#findComment-51716 Share on other sites More sharing options...
.josh Posted July 1, 2006 Share Posted July 1, 2006 umm.."passing data using the GET method" yeah, that sounds official. well anyways, here's basically how it works:say you have a url that looks like this:http://www.blah.com/index.php?id=123in index.php you would access that variable like so: $_GET['id']echo $_GET['id']; //output: 123now obviously you want to do all sorts of things to this variable before you actually use it for anything, as the GET method is the first target of hacker attacks. Quote Link to comment https://forums.phpfreaks.com/topic/13394-what-is-the-name-of-this-php-topic/#findComment-51719 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.