On Monday 23 April 2001 08:59, Alexander Wagner wrote:
>  Tyler Longren wrote:

>  > $file = fopen("includes/about.inc", "r");
>  > $data = fread($file, 24000000);

$file = "includes/about.inc";
if ($fp = fopen($file,"r")) {
$data = fread($fp,filesize($file));
fclose($fp);
}

ought to work.

-- 
 php developer / CoreTrek AS        | Beware of a tall dark man with a spoon
 Sandnes / Rogaland / Norway        | up his nose. 
 web: http://www.moijk.net/         | 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to