From c506bb3fabbbe51f2494227979b9eca26f06d547 Mon Sep 17 00:00:00 2001 From: edbrz9 Date: Thu, 29 Dec 2022 14:22:44 +0100 Subject: [PATCH] check --- proj/y2t/handler.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/proj/y2t/handler.php b/proj/y2t/handler.php index c7d6e0d..7b21e81 100644 --- a/proj/y2t/handler.php +++ b/proj/y2t/handler.php @@ -21,7 +21,11 @@ echo $lang; echo nl2br("\n"); - exec("python3 y2t.py $ulr $lang", $output, $return); + + $cmd = "python3 y2t.py " . $url . " " . $lang ; + + exec($cmd, $output, $return); + echo nl2br("executing the thing\n"); //wait($return_code); @@ -35,6 +39,7 @@ echo $output; echo nl2br("\n END OF THE OUTPUT\n"); + /* echo "check"; $url = 'https://www.youtube.com/watch?v=GNbTRJHbC4Q'; @@ -44,7 +49,7 @@ var_export($output); echo "\nret: "; var_export($ret); - +*/ ?>