This one time, at band camp, [EMAIL PROTECTED] wrote: > Hi everyone, > > How can you execute UNIX scripts from PHP. If somebody could let me > know it would be great.
if you have a shell script called blah.sh $script = 'blah.sh'; exec($script); system($script); // my favourite or if you like you could do `blah.sh` // backticks Kevin -- ______ (_____ \ _____) ) ____ ____ ____ ____ | ____/ / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \____) \_||_| \____) \____) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php