Re: [PHP] file deletions ....

2001-03-28 Thread Joe Stump
Make sure that the PHP user (usually nobody) has the access to delete those files - I usually just do `rm -fr /path/to/file.foo`; and it works fine. --Joe On Wed, Mar 28, 2001 at 09:42:36AM +0100, Steve Brett wrote: > hi, > > i need to delete files in my web folder so i can 'tidy' them up. i ha

Re: [PHP] file deletions ....

2001-03-28 Thread Steve Brett
""Phil Driscoll"" <[EMAIL PROTECTED]> wrote in message 001201c0b768$60da60a0$0c81@philsntserver">news:001201c0b768$60da60a0$0c81@philsntserver... > Steve > > unlink works fine for me (on my nt boxes) providing the anonymous web user > has permission to delete the files. Note that under II

Re: [PHP] file deletions ....

2001-03-28 Thread Phil Driscoll
Steve unlink works fine for me (on my nt boxes) providing the anonymous web user has permission to delete the files. Note that under IIS and possibly PWS, the damn server keeps files open for a few minutes after it has served them up, and consequently nobody can delete or modify the files during

[PHP] file deletions ....

2001-03-28 Thread Steve Brett
hi, i need to delete files in my web folder so i can 'tidy' them up. i have a username and password that has ftp access and so far i've tried system(), unlink() and setting up an ftp connection (they use php 4.03 whihc seems to have ftp access closed). i have no problem listing the files i want