Make this look a bit nicer

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@32145 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Rasmus Lerdorf 2000-09-06 18:04:53 +00:00
parent 0489f0b207
commit 1d559293b7

View file

@ -235,7 +235,7 @@ echo '<A HREF="mycgi?foo=', urlencode ($userinput), '">';
user agents do not send form data in this semi-colon separated format.
A more portable way around this is to use & instead of & as the
separator. You don't need to change PHP's arg_separator for this. Leave
it as &, but simply encode your URLs using:
it as &amp;, but simply encode your URLs using <function>htmlentities</function>(urlencode($data)).
<example>
<title><function>Urlencode/htmlentities</function> example</title>
<programlisting role="php">