My host does not accept absolut php includes
Posted: Tue Jan 18, 2011 10:57 pm
i have tried to add
<? virtual("/cgi-bin/te/in.cgi?p=default"); ?>
on my index.php but i always got the error.
Fatal error: Call to undefined function virtual() in /home/babes/public_html/index2.php on line 7
Then i have changed it to <? include("/cgi-bin/te/in.cgi?p=default"); ?>
and also <? include("cgi-bin/te/in.cgi?p=default"); ?>
but still got the error: Failed to open stream: No such file or directory
Then i have asked my host about it and they said.
"It appears you are trying to use a php include to call cgi which does not work on servers that execute php through suPHP. Since you are using Trade Expert, they do have other ways to do what you are trying to do which you should look in to those"
How can i include the "/cgi-bin/te/in.cgi?p=default" with suPHP installed on my server?
<? virtual("/cgi-bin/te/in.cgi?p=default"); ?>
on my index.php but i always got the error.
Fatal error: Call to undefined function virtual() in /home/babes/public_html/index2.php on line 7
Then i have changed it to <? include("/cgi-bin/te/in.cgi?p=default"); ?>
and also <? include("cgi-bin/te/in.cgi?p=default"); ?>
but still got the error: Failed to open stream: No such file or directory
Then i have asked my host about it and they said.
"It appears you are trying to use a php include to call cgi which does not work on servers that execute php through suPHP. Since you are using Trade Expert, they do have other ways to do what you are trying to do which you should look in to those"
How can i include the "/cgi-bin/te/in.cgi?p=default" with suPHP installed on my server?