RE: Uploading files without saving them

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: James Colannino [mailto:james@xxxxxxxxxxxxx]
> Sent: Monday, June 23, 2008 3:48 PM
> To: php-general@xxxxxxxxxxxxx
> Subject:  Uploading files without saving them
> 
> Hey everyone.  Here's a simple question.  I'd like to be able to
import
> information from a text file located on the client without actually
> saving it on the server; that is, I simply want to read the data into
> memory on the server, without actually saving it to a file.
> 
> I've been googling around to learn about uploading files via PHP, but
> haven't found anything yet (I could save the file to a temporary
> location and delete it when finished, but I'd prefer not to have to do
> this if at all possible.)
> 
> Anyone have any ideas?  Thanks! :)

IIRC, if you never move it out of PHP's defaulted temporary storage
sandbox, it will eventually be wiped. When files are uploaded via PHP,
they must explicitly be moved into the active file system.

HTH,


Todd Boyd
Web Programmer




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux