Hallo,ja die hanlder sind angegeben und anderes scripts laufen bestens und dieses ja eigentlich auch bis zum php aufruf hier das beispiel für den browser aufruf:
das perlscript:
#!/usr/bin/perl
print "Content-type: text/html \n\n";
print "OK<br><br>";
$antwort = system("test.php");
print "<br><br>php ausgabe: $antwort ";
hier das phpscript:
#!/usr/bin/php -q
<?
$today = date("H:i:s");
print $today;
?>
und hier die browserausgabe:
OK
X-Powered-By: PHP/4.1.2 Content-type: text/html print "Content-type: text/html \n\n"; print "OK
"; $antwort = system("test.php"); print "
php ausgabe: $antwort ";
php ausgabe: 0
.... das perlscript wird bis zum phpaufruf richtig ausgeführt, ab dem php aufruf wird das perscript noch einmal im qelltext geparst, wenn es durch ist wird das perlscript weiter normal ausgeführt.
wobei die phpausgabe 0 nat. nicht sein sollte ...
Datum: 25.05.2005-12:58
