$contents = implode('',file($filename)); Regards, Andrey
"Edgar" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > 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 > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php