RE: [PHP-WIN] reading a file into a string
| From: | Michael S. Norum | Date: | Wed, 15 Nov 2000 20:26:49 +0000 |
| Subject: | RE: [PHP-WIN] reading a file into a string | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-3880@lists.php.net to get a copy of this message | ||
You can use the file($filename) function which reads the file into an array
line by line, and then use the join() function to join all the elements into
one string.
Michael
"Alle kan stave REX BOMBASA"
http://denandresiden.cjb.net
http://www.geocities.com/zymosis2000
-----Original Message-----
From: -- [mailto:051581324@doar.net]
Sent: 15. november 2000 19:08
To: php-windows@lists.php.net
Subject: [PHP-WIN] reading a file into a string
what is the simplest way to read a file into a string ?
Assil
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
For additional commands, e-mail: php-windows-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net