|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-05-20 14:57 UTC] shane
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 15:00:01 2025 UTC |
As I mentioned lightly in bug report #265 back on 4/11/98, I've been attempting to move a small program which is working fine on a BSD box over to NT. Under both RC3 and RC4 NT binaries, I find that the fseek call on an opened file does not move the pointer. Simple on the fly script follows: $fp = fopen("some_file", "r"); fseek($fp, 20); echo "pointer is at " . ftell($fp) . "\n"; fclose($fp); ftell always reports 0 for me, and subsequent fgetc or fgets return data from the beginning of the file. This is only on the NT port.