Running a perl script from PHP
| From: | Tank | Date: | Tue, 04 Dec 2001 00:49:33 +0000 |
| Subject: | Running a perl script from PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-76443@lists.php.net to get a copy of this message | ||
echo system("perl /usr/local/site/domain.com/cgi-bin/script.pl -c
test -cname testname -passwd testword");
That's my code, however it does nothing. No feedback from the echo, no
actions, nothing. I've also tried exec(), but again, no luck. When I run
exactly the same code from the command line, it runs fine, and says "Done."
in the command line.
Any ideas?