From 1d559293b73bf021ae0bb9c3663c41a82c5d7418 Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Wed, 6 Sep 2000 18:04:53 +0000 Subject: [PATCH] Make this look a bit nicer git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@32145 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/url.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/url.xml b/functions/url.xml index 5b1316f423..8d216913bb 100644 --- a/functions/url.xml +++ b/functions/url.xml @@ -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 &amp; 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 &, but simply encode your URLs using htmlentities(urlencode($data)). <function>Urlencode/htmlentities</function> example