Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Turn on variables from URL

Status
Not open for further replies.

andnos

Technical User
Nov 21, 2005
48
US
Hi,
how do make it so that I don't have to use the global $_GET $_POST or $_REQUEST, but that the variables would be automatically created.

Thanks
AN

 
I just remembered that's how to do it after I posted it. I have no choice on this one site that I'm helping out with, since it was all coded that way.
 
at the least, consider using extract() instead and restricting the input only to those superglobals that you really need. there are a number of switches available to extract that might well save your proverbial hide
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top