All I want to do is execute a perl script. I do not care about output to
browser. I have used shell_exec, system, exec, and backticks with no
avail.

Here is what i have now in my php page.
shell_exec("perl data/addSite.pl" . " &> /tmp/error " );

I know the perl script executes because a basic print statement in the
perl script is outputted to /tmp/error. However anything else in the
script not having to do with output is not executed. The perl script is
basically supposed to add a file. That is it. The perl script is fine
from command line. All paths are correct and like I said I do not care
about output to the browser for the user. My questions is why does the
perl script execute (and mostly work) but not execute certain pieces of
code when executed from my php page.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to