note 17357 added to function.rawurlencode

From: Date: Wed, 05 Dec 2001 18:16:07 +0000
Subject: note 17357 added to function.rawurlencode
Groups: php.notes 
Request: Send a blank email to php-notes+get-21644@lists.php.net to get a copy of this message
that way, fullrawurlencode is not RFC-compliant instead of: $newstring .= "%".dechex(ord(substr($string, $i, 1))); it should be: $newstring .= "%".sprintf("%02x",ord(substr($string, $i, 1))); in general, fullrawurlencode is a good choice to avoid browser problem, but, pay attention, it tends to generate long URIs. -- http://www.php.net/manual/en/function.rawurlencode.php http://master.php.net/manage/user-notes.php?action=edit+17357 http://master.php.net/manage/user-notes.php?action=delete+17357 http://master.php.net/manage/user-notes.php?action=reject+17357

« previous php.notes (#21644) next »