You have two options. If you have root access you can login as root and delete them. If it is something you will be doing on an ongoing basis you can add a cron job as root to chrgp and chown the files in the upload directory every so often. You would then be able to delete them as whatever user you normally login as.
If you do not have root access you will need to write a php script to delete the files for you. Since all PHP scripts run as the user Apache is run as, files created using PHP can also be deleted with PHP. Fred Vedha Kannan <[EMAIL PROTECTED]> wrote in message 003a01c17251$2d0982c0$[EMAIL PROTECTED]">news:003a01c17251$2d0982c0$[EMAIL PROTECTED]... Hi, I'm new to this group. I have a problem with a php script that I'm creating to upload files to the server. The uploaded files have their owner as "apache" and not me as the owner. Hence I'm not able to delete the files that are uploaded. How do I solve this problem? Thanks, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]