|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Hi.
I´m having problems with an server running in save mode. I wrote an upload skript for some pdf-files. The upload works - but when I try to delete a file I get an save mode error referring to the UID. I have chmod-ded the folder with the files to 777 an and the delete.php to 755. It seems to be a problem with the unlink() !? I was told to change the UID, to turn off save mode or to add an .htaccess - but I have no root-access an the .htaccess did not work - now I get an internal server error... There must be an alternative for unlink() - it cannot be that somethink link save mode makes it impossible to delete files?!?! I hope you can help me! Saludos, Jan |
|
#2
|
||||
|
||||
|
Third comment from the bottom at http://us4.php.net/features.safe-mode seems to explain it.
__________________
Please don't PM me asking for solutions outside the scope of a thread. Keeping all responses in a thread stands to help others who come along later, which is after all what this forum's all about. |
|
#3
|
|||
|
|||
|
there is no problem unlinking under SAFEMODE. You just need to make sure, that the file is fetched and deleted by the same script. and that that script has permission to the folder of the file.
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > Is there an alternative for unlink() - i´m having Problems in save mode |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|