On Saturday 01 February 2003 03:23, Miguel Brás wrote: > Hey, thx for your speech > > In a matter of fact, I have 2 books about PHP and all they say about the > unlink function (I use it in my upload system) is that it is suposed to > force the delete of the temporary file that it is created during the upload > process. > > So, i was never thinking that the unlink fuction was able to do it.
Could you tell us which books they are? They seem to be giving very poor advice. Uploaded files are _automatically_ deleted when the script ends. There is no need to force deletion of those temporary files. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* The best laid plans of mice and men are held up in the legal department. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php