Re: How can you execute UNIX scripts from PHP

From: Date: Tue, 18 Feb 2003 13:25:31 +0000
Subject: Re: How can you execute UNIX scripts from PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-135992@lists.php.net to get a copy of this message
This one time, at band camp, Rea_David@emc.com 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

« previous php.general (#135992) next »