Re: [PHP] Deleting file in /tmp directory

2008-03-28 Thread Daniel Brown
On Fri, Mar 28, 2008 at 11:24 AM, Mário Gamito <[EMAIL PROTECTED]> wrote: > Hi, > > I have this PHP script (simplificated here), called delete_tmp.php > that basically calls external commands: > > > $session_file = '/tmp/sess_89765' > > system(''rm -f' . ' ' . $session_file); > > ?> Tha

[PHP] Deleting file in /tmp directory

2008-03-28 Thread Mário Gamito
Hi, I have this PHP script (simplificated here), called delete_tmp.php that basically calls external commands: delete_tmp.php file is owned by gamito.users /tmp/sess_89765 file has permissions -rw-- and is owned by gamito.users My /tmp permissions are rwxrwxrwt and is owned by root.root