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()
creates an array
file_get_contents
is best suited.
However, the best solution is to store the file on the filesystem and keep only the filename in the database.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php