phat code A narrow mind has a broad tongue.
Main

Projects

Downloads

Articles

Links

Forum

 

View Message

Back to Messages
Plasma Fri Nov 16 2007 at 12:53 am
well
 
 
chmod sets file permissions. But you don't need exec to use it, as there's already a chmod() function in php. You can use crontab with exec to setup cron jobs.


Personally though, I wouldn't waste the time doing all this if you're only planning to move it once or twice. It will take a lot longer to set up all the automation scripts and debug it then it would to just ftp in, set the permissions, and do the cronjobs in cpanel. Of course if it's something you're going to redistribute then that's another story.
 
 
 
 

Reply to this Message

Name
Subject
Message

No HTML is allowed, except for <code> <b> <i> <u> in the message only.
All URLs and email addresses will automatically be converted to hyperlinks.