Page 1 of 1

passing string through get

Posted: Fri Oct 01, 2004 5:23 am
by bytte
If I pass "the string" through GET to another php page, it gets displayed in the address bar as "the%20string".
The problem is that I need the string for my script on that page too, and it fails because of the "%20" thing (I guess).

What can I do about that?

Posted: Fri Oct 01, 2004 8:35 am
by mudkicker
you have to encode/decoe url

-> http://php.net/urldecode