Hi,

I've read through the archives and still must be missing something. I
need to execute a cgi script from php. This seems fairly trivial, but I
can't get it to work.

the cgi script is clean -- executes from the command line without issue
and is 755
from php the follwing is used:


chdir("../../cgibin");
if(is_executable("some.cgi"))
    virtual("some.cgi");
else
    echo "Not executable";



some.cgi is found and is executable but the following occurs when
attemping to execute via virtual():

Warning: Unable to include 'some.cgi' - request execution failed in
[path to php page]

Any help would be greatly appreciated,
clif



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to