...
This commit is contained in:
parent
8e1e5ab752
commit
6a3414d718
|
@ -21,16 +21,11 @@
|
||||||
echo $lang;
|
echo $lang;
|
||||||
echo nl2br("\n");
|
echo nl2br("\n");
|
||||||
|
|
||||||
// Open a pipe to the python script
|
$output = exec("python3 y2t.py $ulr $lang", $output, $return_code);
|
||||||
$handle = popen("python3 y2t.py $url $lang", "r");
|
wait($return_code);
|
||||||
while (!feof($handle)) {
|
echo $output;
|
||||||
$output = fread($handle, 1024);
|
|
||||||
echo $output;
|
|
||||||
}
|
|
||||||
$exitCode = pclose($handle);
|
|
||||||
|
|
||||||
echo nl2br("\n");
|
echo nl2br("\n");
|
||||||
echo "end of php";
|
echo "check"
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue