Jump to content

What is the name of this php topic?


bilis_money

Recommended Posts

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.



Link to comment
https://forums.phpfreaks.com/topic/13394-what-is-the-name-of-this-php-topic/
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:

http://www.blah.com/index.php?id=123

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.

Archived

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

×
×
  • Create New...

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.