View Single Post
Old 02-28-2007, 03:48 PM  
roly
Confirmed User
 
Join Date: Aug 2002
Posts: 1,844
thanks guys for the responses. i've tried urlencode like this:

Code:
<?php 

$url = urlencode($_GET['lnk']);

header("Location: $url");

exit;

?>
unfortunatly it now shows a 404 on my server with the url encoded but it isn't a 404 if i just use the unencoded string, am i using urlencode correctly in the above example?
roly is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote