Bug #1063 Updated: when I tried to do an ftell on a valid file pointer it said it was a not valid.

From: Date: Sun, 21 Feb 1999 20:14:26 +0000
Subject: Bug #1063 Updated: when I tried to do an ftell on a valid file pointer it said it was a not valid.
Groups: php.dev 
Request: Send a blank email to php-dev+get-4220@lists.php.net to get a copy of this message
ID: 1063 Updated by: jim Reported By: babak77@direct-data.com Status: Analyzed Bug Type: Misbehaving function Assigned To: Comments: This worked fine for me: <?php $fp = fopen("test", "r"); $line = fgets($fp, 1024); echo $line, ":"; echo ftell($fp); ?> Are you sure that you're passing the correct file pointer? Full Bug description available at: http://ca.php.net/bugs.php3?id=1063 -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#4220) next »