Hi,

that's a negative

They say that after uploading the file, the temp file on the tmp directory
(usual) is deleted, anyway in order to confirm the deletion we should use
unlink() function.

Reading from one of the books, they say that the temp files are not deleted
if a misconfiguration is found on php.ini or if the directory permissions
aren't set as they should be.

Miguel
"Jason Wong" <[EMAIL PROTECTED]> escreveu na mensagem
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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

Reply via email to