Jump to content


This topic is now archived and is closed to further replies.


What is the name of this php topic?

Recommended Posts


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

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.

Share this post

Link to post
Share on other sites
$_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 variables

Share this post

Link to post
Share on other sites
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:


in index.php you would access that variable like so: $_GET['id']

echo $_GET['id']; //output: 123

now 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.

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.