|
Posted by Ewoud Dronkert on 10/18/05 14:58
Jofio wrote:
> gone wrong here? When I run it, the browser displays: 'COULD NOT Read'
>
> $fh=fopen($visitorFile,"r+") or die("could not open.");
> $Visited=fread($fh, filesize($visitorFile)) or die("Could not
Probably has to do with the r+ mode of opening the file. Try r or rb, or
getting the filesize before opening the file.
--
E. Dronkert
Navigation:
[Reply to this message]
|