Jump to content

embedding $_GET in $_GET


rubing

Recommended Posts

hey all,

 

i want to pass a url as the parameter in a $_GET variable (e.g)

 

http://www.example.com/pass.php?id=7&limit=1&url=http://www.doesntwork.com/howtofix.php?works=yes&lastchar=broke

 

These $_GET varialbles will be truncated.  The variable: 

http://www.doesntwork.com/howtofix.php?works=yes&lastchar=broke

 

has an '&' character which is interrupreted instead of being included.

 

Basically I am asking, how do you escape the '&' character in a GET query???

 

So that it's not interpretted as the end of the variable??

Link to comment
https://forums.phpfreaks.com/topic/117659-embedding-_get-in-_get/
Share on other sites

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.