note 109822 added to function.urlencode

From: Date: Fri, 24 Aug 2012 10:48:54 +0000
Subject: note 109822 added to function.urlencode
Groups: php.notes 
Request: Send a blank email to php-notes+get-190207@lists.php.net to get a copy of this message
htmlentities(urlencode($url),1); simply encodes to url and then converts the other special chars to html entities. for better results, you can try urlencode(htmlentities($url,1)); instead ---- Server IP: 69.147.83.197 Probable Submitter: 95.136.43.99 ---- Manual Page -- http://www.php.net/manual/en/function.urlencode.php Edit -- https://master.php.net/note/edit/109822 Del: integrated -- https://master.php.net/note/delete/109822/integrated Del: useless -- https://master.php.net/note/delete/109822/useless Del: bad code -- https://master.php.net/note/delete/109822/bad+code Del: spam -- https://master.php.net/note/delete/109822/spam Del: non-english -- https://master.php.net/note/delete/109822/non-english Del: in docs -- https://master.php.net/note/delete/109822/in+docs Del: other reasons-- https://master.php.net/note/delete/109822 Reject -- https://master.php.net/note/reject/109822 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#190207) next »