Page 1 of 1

server referer problem

Posted: Thu Feb 12, 2004 5:28 pm
by grudz
hello,

i have a

PHP:

Code: Select all

$_SERVER['HTTP_REFERER'];
that is itself a link (<a href="$_SERVER.......</a>

thats perfect for when the URL is 1 word....however, when its 2 or more it doesnt add the % needed

http://www.site.com/name=my%name......the link goes to http://www.site.com/name=my (which is no good)

how do i tell add the % ???

thank you in advance

Posted: Thu Feb 12, 2004 5:31 pm
by markl999