PHP upload filename

Posted by incrediman on Stack Overflow See other posts from Stack Overflow or by incrediman
Published on 2010-05-15T02:01:24Z Indexed on 2010/05/15 2:04 UTC
Read the original article Hit count: 327

Filed under:
|
|

I'd like to have my PHP script upload a file with a certain filename in a directory of my choosing. However, the catch is that I need it to exist there immediately upon upload so I can moniter it on my server. I don't want to use a PHP extension or something - this should be very easy to transfer to any PHP setup.

So basically: Is there a way to guarantee that, from the very beginning of the file upload process, the file has a certain name and location on the server?

© Stack Overflow or respective owner

Related posts about php

Related posts about file