Re: read file local not remote
| From: | Joker7 | Date: | Mon, 26 Feb 2007 21:37:04 +0000 |
| Subject: | Re: read file local not remote | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-249473@lists.php.net to get a copy of this message | ||
In news: 45E21F28.7030103@gmail.com,
"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 Broadband http://yeah.kick-butt.co.uk
Superb hosting & domain name deals http://host.kick-butt.co.uk