RE: [PHP-DB] File retrieval
| From: | Bastien Koert | Date: | Sun, 03 Apr 2005 14:23:17 +0000 |
| Subject: | RE: [PHP-DB] File retrieval | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-39101@lists.php.net to get a copy of this message | ||
of course, there are a number of file system option syou can use depending on how you;d like the data to be handled, from being put into an array to simply storing the entire file as a string
start with file http://www.php.net/file
or fread http://www.php.net/fread
Bastien
From: "Ron Piggott" <ron.php@actsministries.org> Reply-To: "Ron Piggott" <ron.php@actsministries.org> To: "PHP DB" <php-db@lists.php.net> Subject: [PHP-DB] File retrieval Date: Fri, 1 Apr 2005 22:43:17 -0500 If I have a file named "data.txt" Is it possible to load the contents of it into a variable search as $contents
idealy I would like to know if I am able to do something like $contents = data.txt; Ron -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php