faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

63 of 70 people (90%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

Why wont PHP 3 excute shell commands??? I have tried $string = system("/bin/tar -cf /home/www/backups/backup.tar /home/www/functions");

Nov 27th, 2008 02:24
healthy man, haytham ali, dman, Pavel Prishivalko, Robert -, http://www.ttnr.org


Try:
$string = `/bin/tar -
cf /home/www/backups/backup.tar /home/www/functions`;
NOTE: ` - is a backtick
http://www.healthdothealth.com
http://www.healthxhealth.com
http://www.mesotheliomainmesothelioma.com
http://www.healthfirewall.com
http://www.flathealth.com
http://www.healthbodyguard.com