SafeMode?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ceige
Forum Newbie
Posts: 8
Joined: Sat Jan 03, 2004 8:09 am

SafeMode?

Post by ceige »

A PHP script that I have creates image files that I cannot delete. When it creates the image files it creates the files under the apache UID. When I try to delete them SafeMode says the UID's don't match so I can't delete them. Thinking I needed a script with the proper UID I worte a script called createdelete.php which in turn created a file called delete.php with the apache UID. It was a rather desperate attempt that didn't work. This time SafeMode comes up with the error that the file delete.php's UID doesn't match the folder ./'s UID so it can't do anything.

I am seriously stuck. Any help is appriciated.
Oh, and don't suggest turning SafeMode off. I don't have control over that. If worst comes to worst I'll ask my ISP about it but untill then I want to look for another way.
Post Reply