Parsing a File
| From: | Harlequin | Date: | Mon, 20 Sep 2004 13:46:30 +0000 |
| Subject: | Parsing a File | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-197391@lists.php.net to get a copy of this message | ||
Hi all.
I've been through the PHP manual and wonder which file option will best suit
my needs.
I basically want to take a file that the user uploads and parse it into a
variable or string so I can insert it into a field in my database.
Do I use:
File()
file_get_contents
Or something else...?
--
-----------------------------
Michael Mason
Arras People
www.arraspeople.co.uk
-----------------------------