Page 1 of 1

Passing a query string that has a query string in it

Posted: Sat Jul 15, 2006 10:00 am
by GeXus
I'm having trouble passing a URL.. such as .. http://www.site.com/get.php?url=http:// ... p=1&x=asdf

on get.php when I try to get the url, i only get http://www.newsite.com?p=1... it leaves out the & and anything after...

How would I go about doing this?

thanks!

Posted: Sat Jul 15, 2006 10:06 am
by feyd
rawurlencode() the query string (all the junk after "url=")

Posted: Sat Jul 15, 2006 11:00 am
by GeXus
Nice, works perfect.. thanks!