Hi!
I made a file upload and it worked fine. Then I used the unlink(); function to delete files in the same folder as the uploaded files, and CRASH.... I can no longer upload files, not only in this folder, but on the total SERVER! (Cobalt raq4 running Linux and PHP Version 4.0.6) When I try to make an upload I only get files like "php6vLCIp"

Have anybody else had the same experience?

Does anyone know how to fix this?

    That looks like a temp file name.
    php uploads to a temp folder set in the php.ini file and gives it a new filename, and then copies it over to the correct destination from the temp folder. I think the problem here is that your temp folder is the same as the destination folder.
    Check the temp folder with a phpinfo().
    Otherwise I ain't got a clue...

      Write a Reply...