Hey all. I need to know how I can pass a URL which includes GET format variables ( url1 example: http://somesite.com/my.php?foo=stuff&bar=otherStuff ) as an argument (in GET format) to another PHP file ( url2 exampe: myfile.php?url=<url1> ).
So the final URL ends up in this sort of format:
myfile.php?[url]http://somesite.com/my.php?foo=stuff&bar=otherStuff[/url]
And of course, it doesn't work.
I've tried to replace url1 with its rawURLEncoded equivalent and then making my other file unencode the URL but it still doesn't work.
If I use POST to send the variables it works fine and dandy but in this instance I can't do that... Any help much appreciated.