RE: [PHP] Uploading files without saving them

2008-06-23 Thread Boyd, Todd M.
-Original Message- From: James Colannino [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2008 3:48 PM To: php-general@lists.php.net Subject: [PHP] Uploading files without saving them Hey everyone. Here's a simple question. I'd like to be able to import information from a text

Re: [PHP] Uploading files without saving them

2008-06-23 Thread James Colannino
Boyd, Todd M. wrote: 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. Ah, I see. What would happen if two people just happened to upload files

Re: [PHP] Uploading files without saving them

2008-06-23 Thread James Colannino
Nitsan Bin-Nun wrote: PHP uses randomaly name for each of them (during the upload to the temporary directory), when its done PHP moves the file to the objective location, i dont think you will obstacle filename problems. Ah, excellent! Thanks :) James -- My blog:

Re: [PHP] Uploading files without saving them

2008-06-23 Thread Daniel Brown
On Mon, Jun 23, 2008 at 6:05 PM, James Colannino [EMAIL PROTECTED] wrote: Ah, I see. What would happen if two people just happened to upload files with the same filename at the same time? Would one stomp over the other, or does PHP have mechanisms to handle that sort of situation? Todd

Re: [PHP] Uploading files without saving them

2008-06-23 Thread Shawn McKenzie
Daniel Brown wrote: On Mon, Jun 23, 2008 at 6:05 PM, James Colannino [EMAIL PROTECTED] wrote: Ah, I see. What would happen if two people just happened to upload files with the same filename at the same time? Would one stomp over the other, or does PHP have mechanisms to handle that sort of

Re: [PHP] Uploading files without saving them

2008-06-23 Thread Daniel Brown
On Mon, Jun 23, 2008 at 8:17 PM, Shawn McKenzie [EMAIL PROTECTED] wrote: Oooo... where can I get this 'summer.jpg'? It's an Easter Egg embedded in the $_FILES array under an undocumented hidden key. ?php