note 6290 deleted from function.fopen by alindeman
| From: | alindeman@php.net | Date: | Sat, 17 May 2003 20:54:52 +0000 |
| Subject: | note 6290 deleted from function.fopen by alindeman | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-48246@lists.php.net to get a copy of this message | ||
Note Submitter: malhavoc@stomped.com
Just a note to individuals who use the fopen() function to reference an external url. fopen() makes
no attempt to url encode the url before opening it, so be sure to do that first.
It would be a nice touch to make this function change spaces to + signs and remove illegal url
characters, but you can easily get around this by making use of the urlencode() function first.
Enjoy.