Execution of system call
| From: | Thomas M. Hansen | Date: | Sun, 30 Jul 2000 15:45:33 +0000 |
| Subject: | Execution of system call | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-9059@lists.php.net to get a copy of this message | ||
Hi
I have a simple problem.(it seems).
When I issue
system("date");
I get the date ok, but when i issue :
system("tar tvfz /dev/tape");
I get no output ?
when I issue the command in a shell, everyting works fine.
The same story when I try to use "mt" to check the status of the tape.
It works from the prompt, but not through PHP ?
What do I do wrong ?
I use php 4.0.1pl2, Apache 1.3.12, Linux 2.2.16
Thanx- Thomas