Re: read a text file
| From: | Andrey Hristov | Date: | Tue, 16 Jul 2002 12:57:55 +0000 |
| Subject: | Re: read a text file | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-107851@lists.php.net to get a copy of this message | ||
$contents = implode('',file($filename));
Regards,
Andrey
"Edgar" <edgar@xpress.com.co> wrote in message
news:<20020716125542.81289.qmail@pb1.pair.com>...
> I was looking for in the news, but i did not encounter any thing.
>
> Where can I get an example or the way to read a text file into a variable
> and how identify the carriage return and special characters.
>
>
> Thank you
>
>
> Edgar
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>