View Single Post
  #1  
Old 11th January 2010, 19:27
DUCKFACE DUCKFACE is offline
Member
 
Join Date: Dec 2008
Location: Bulgaria
Posts: 92
Thanks: 2
Thanked 2 Times in 2 Posts
Default exec not working

im trying to amke kind of plugin .. but i stuck here ...

so .. got $file_data[dir''] ... and i want to copy some files in it ...

$source = "/usr/local/ispconfig/interface/web/bss/content";
$target = $file_data['dir'].'/web';
exec("cp -r ".$source." ".$target);
exec("chmod -R a+r ".$target );
but exec not working ...
any idea ?
ispconf3
________
No2 Vaporizer
________
Charlie Sheen Intern

Last edited by DUCKFACE; 17th March 2011 at 19:34.
Reply With Quote
Sponsored Links