Why does the fseek() function in PHP return zero instead of returning info from...

Boogyman

New member
...the file .. 10 pts? Ok .. fseek() is supposed to return a piece of information from the file it is searching in ... Instead , it returns zero ... What does the zero mean ??? isn't it supposed to return information from the file ???

Here is my code

<? php

@ $fp = fopen("$DOCUMENT_ROOT/orders/orders.txt");


echo fseek($fp, 100, SEEK_CUR);

?>
 
Back
Top