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
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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.