note 11234 added to require
| From: | tim at thelittlevillage dot com | Date: | Mon, 12 Feb 2001 03:06:11 +0000 |
| Subject: | note 11234 added to require | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-10936@lists.php.net to get a copy of this message | ||
When passing parameters to the required file, you will need to urlencode them again if you pass them
as parameters in the required file. Because the required file is PHP parsed when it is read in, it
automatically urldecodes the parameters.
So you must include a:
$string= urlencode($string);
in the required file on top of the urlencode you used to send the parameter to it in the first
place.
http://www.php.net/manual/en/function.require.php