i need to activate another script and pass 2 vars and have one returned.

Have I got the syntax correct AND why does it not see the script? It is in the same directory as the php script.

$mysearch="cats";
   $mytype = "zero";

    passthru ("/home/bookie/testbed/perlSOAP.cgi?fieldvalue=$mysearch&fieldsearch=$mytype&" , $response);
    return $response;
echo "response is $response";

I have tried the path on it's own AND as a full url

i need to activate another script and pass 2 vars and have one returned.

Have I got the syntax correct AND why does it not see the script? It is in the same directory as the php script.

$mysearch="cats";
   $mytype = "zero";

    passthru ("/home/bookie/testbed/perlSOAP.cgi?fieldvalue=$mysearch&fieldsearch=$mytype&" , $response);
    return $response;
echo "response is $response";

I have tried the path on it's own AND as a full url

According to the documentation, such may be the case if PHP is in safe mode, is this true?

According to the documentation, such may be the case if PHP is in safe mode, is this true?

It has nothing to do with safe mode, he's killing the script before it can echo because of return $response;

removed return $response and still:

sh: /home/bookie/testbed/perlSOAP.cgi?fieldvalue=cats: No such file or directory
and I am not in safemode

This article has been dead for over six months. Start a new discussion instead.