Jump to content


What is the name of this php topic?

  • Please log in to reply
2 replies to this topic

#1 bilis_money

  • Members
  • PipPipPip
  • Advanced Member
  • 621 posts

Posted 01 July 2006 - 03:49 PM


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

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.

#2 michaellunsford

  • Members
  • PipPipPip
  • Advanced Member
  • 1,023 posts
  • LocationLouisiana, USA

Posted 01 July 2006 - 04:28 PM

$_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

#3 .josh

  • Staff Alumni
  • .josh
  • 14,871 posts

Posted 01 July 2006 - 04:54 PM

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.
Did I help you? Feeling generous? Buy me lunch! 
Please, take the time and do some research and find out how much it would have cost you to get your help from a decent paid-for source. A "roll-of-the-dice" freelancer will charge you $5-$15/hr. A decent entry level freelancer will charge you around $15-30/hr. A professional will charge you anywhere from $50-$100/hr. An agency will charge anywhere from $100-$250/hr. Think about all this when soliciting for help here. Think about how much money you are making from the work you are asking for help on. No, we do not expect you to pay for the help given here, but donating a few bucks is a fraction of the cost of what you would have paid, shows your appreciation, helps motivate people to keep offering help without the pricetag, and helps make this a higher quality free-help community :)

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users