je fais un appel d'un script php dans un script cgi a l'aide de la ligine suivante
.....
{
exec "php -f connect.php";
}
else
{
....
}
lors de l'execution il me declenche l'erreur suivante
400 Content-type: text/html Security Alert! The PHP CGI cannot be accessed directly.
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive.
(…)
Forum Programmation.perl appel un script php dans un code CGI
31
mai
2006