Re: [PHP] exec command help

2001-05-22 Thread Chris Lee
what is the output of $results ? print_r($results); try another command, ie. exec("echo hello world", $results); exec("echo hello world > /tmp/test.txt", $results); does that work? does that file aliases.db permissions set as world writeable, or the user.group set to nobody.nobody (ie. whateve

[PHP] exec command help

2001-05-22 Thread Nashirak Bosk
I am trying to run a something everytime a certain page is loaded. I am using PHP4 and am running Debian Linux. I am trying to run this command with exec: exec("/usr/sbin/postalias hash:aliases", $results); In case you are curious this turns a file called aliases into a hashed aliases file (a