note 16556 added to function.fgetc
| From: | s4lmon at hotmail dot com | Date: | Sun, 04 Nov 2001 04:52:32 +0000 |
| Subject: | note 16556 added to function.fgetc | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-20410@lists.php.net to get a copy of this message | ||
$fp = fopen ($pagesDataFile, "r");
$pages = fgetc ($fp);
hmm, the file contains only 1 charecter, "2", but $pages contains "22" after the
fgetc() command. anyone have any ideas?
--
http://www.php.net/manual/en/function.fgetc.php
http://master.php.net/manage/user-notes.php?action=edit+16556
http://master.php.net/manage/user-notes.php?action=delete+16556
http://master.php.net/manage/user-notes.php?action=reject+16556