In news: [EMAIL PROTECTED],
"Martin Zvarík" said:
>> Difference: You don't call file as http://www.myweb.com/ but instead
>> you use the path like c:\some.txt or ../some.txt etc.
>>
>> PHP 5
>> =
>> echo file_get_contents("some.txt");
Works a treat
Cheers
Chris
--
Cheap As Chips Bro
Difference: You don't call file as http://www.myweb.com/ but instead you
use the path like c:\some.txt or ../some.txt etc.
PHP 5
=
echo file_get_contents("some.txt");
PHP 4
=
$fp = fopen("some.txt", "r");
echo fread($fp, filesize ("some.txt"));
fclose($fp);
Another solution
2 matches
Mail list logo