note 8403 added to fgets
| From: | llevier at argosnet dot com | Date: | Sun, 10 Sep 2000 20:27:13 +0000 |
| Subject: | note 8403 added to fgets | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4667@lists.php.net to get a copy of this message | ||
Whatever you do (file, fgets, fgetss, ...) reading a line looking like a tag (eg Virtual Host in
Apache)
<VirtualHost name>
will make fgets mask the "tag".
So all between < & > will be lost...
Looks more like a bug than a feature...
http://www.php.net/manual/function.fgets.php