View Single Post
Old 07-13-2006, 11:41 PM  
studiocritic
Confirmed User
 
Join Date: Jun 2005
Location: Irvine, CA
Posts: 2,442
yep, urlencode and urldecode is the solution.

when writing the links that go thru the outscript..

$outurl = "http://www.aol.com/?a=1&b=2";
$outurl = "/out.php?url=". urlencode($outurl);

then in out.php
header("Location: ". urldecode($_GET["url"]));

this might have typos and such, i didnt check it
__________________
254342256
studiocritic is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote