note 96256 added to function.urlencode

From: Date: Wed, 17 Feb 2010 15:13:27 +0000
Subject: note 96256 added to function.urlencode
Groups: php.notes 
Request: Send a blank email to php-notes+get-166074@lists.php.net to get a copy of this message
if one wants to encode a url that contains unicode characters, he can se this code: function encode_full_url(&$url) { $url = urlencode($url); $url = str_replace("%2F", "/", $url); $url = str_replace("%3A", ":", $url); return $url; } a little stupid, but gets the work done. ---- Server IP: 69.147.83.197 Probable Submitter: 212.235.83.63 ---- Manual Page -- http://www.php.net/manual/en/function.urlencode.php Edit -- https://master.php.net/note/edit/96256 Del: integrated -- https://master.php.net/note/delete/96256/integrated Del: useless -- https://master.php.net/note/delete/96256/useless Del: bad code -- https://master.php.net/note/delete/96256/bad+code Del: spam -- https://master.php.net/note/delete/96256/spam Del: non-english -- https://master.php.net/note/delete/96256/non-english Del: in docs -- https://master.php.net/note/delete/96256/in+docs Del: other reasons-- https://master.php.net/note/delete/96256 Reject -- https://master.php.net/note/reject/96256 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#166074) next »