FRIHOSTFORUMSSEARCHFAQTOSBLOGSCOMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Apache Files (Not deleted even with that tutorial)





theem
I am Unable to delete my apache created files and directory's even with that tutorial !

i got this message !

Code:

Warning: system() has been disabled for security reasons in /home/xyz/public_html/fixmod.php on line 3
Complete!


what should i do to solve this problem ? Confused
Animal
Try using the alternative method that uses one php file instead of two:

Code:
<?php

system('find . -type d -exec chmod 777 {} \; 2>&1');
system('find . -type f -exec chmod 777 {} \; 2>&1');

print "\n\nComplete!";
?>


This worked for me, and it doesn't use the system() command.
fromegame
Animal wrote:
Try using the alternative method that uses one php file instead of two:

Code:
<?php

system('find . -type d -exec chmod 777 {} \; 2>&1');
system('find . -type f -exec chmod 777 {} \; 2>&1');

print "\n\nComplete!";
?>


This worked for me, and it doesn't use the system() command.


I can find 2 system commands in your code Shocked
Animal
fromegame wrote:
Code:
system('find . -type d -exec chmod 777 {} \; 2>&1');
system('find . -type f -exec chmod 777 {} \; 2>&1');
?>


I can find 2 system commands in your code Shocked

Umm.... yeah... you're right Embarassed

Try the above file anyway - most users have success with this version rather than the two-file one. Let us know if you're still receiving the same error and we'll look into it. I just assumes safe-mode must have blocked the system() command and didn't check the code I posted. Must be wrong though since the single file fixmod.php does work.
Related topics
Recover Deleted Data With ‘Recuva’
Recover Deleted Data With ‘Recuva’
Joomla Apache Ownership
Problem :(
Free Upload Space for your personal files list!!!
What about Joomla??
Protect Your Computer with Deep Freeze
Which are the best free disk and reg cleaners?
Please help me recover from apparently being hacked.
Pen drive data recovery Software ?
HELP too many File Changed
.htaccess tutorial
Xbox Softmod Tutorial
Fix for deleting files/directories owned by apache
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.