Re: [PHP-DB] File retrieval

2005-04-03 Thread Calvin Lough
The methods suggested above would all work but if you would like to do in one step you could use file_get_contents(). This method does not require you to open/close the file and will automatically read the entire file into your array. Calvin On Apr 3, 2005 10:23 AM, Bastien Koert <[EMAIL PROTEC

RE: [PHP-DB] File retrieval

2005-04-03 Thread Bastien Koert
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" <

Re: [PHP-DB] File retrieval

2005-04-03 Thread Mark Cain
You could read this: http://php.net/fread or try this -- assuming that this is a non-windows OS: Mark Cain - Original Message - From: "Ron Piggott" <[EMAIL PROTECTED]> To: "PHP DB" Sent: Friday, April 01, 2005 11:43 PM Subject: [PHP-DB] File retrieval > If I have a file named >

Re: [PHP-DB] File retrieval from DB

2001-01-24 Thread nuitari
Beau Lebens wrote: > > Greetings all, > > I am having great difficulties with an online app that I am developing. > > To avoid issues with file permissions etc, I am saving files into a MySQL > database (soon to be PostgreSQL), which works marvellously. Along with the > contents of the file, I