note 7867 added to rawurlencode

From: Date: Thu, 17 Aug 2000 20:38:50 +0000
Subject: note 7867 added to rawurlencode
Groups: php.notes 
Request: Send a blank email to php-notes+get-2223@lists.php.net to get a copy of this message
You can use rawurlencode with MS IE 5, but you have to do the following: <? $encoded=str_replace("http%3A%2F%2F","http://",rawurlencode($someurl)) echo "<a href=\"$encoded\">"; ?> MS IE "thinks" that it is an relative link because it "sees" no http:// With this code above the urlencoded("http") will be made to the original http... http://www.php.net/manual/function.rawurlencode.php

« previous php.notes (#2223) next »