that is the php code that runs the python, but the $my_username variable doesn’t pass to the python code, any suggestion?
i use the lates cyberpanel version, an i use php 7.3
thanks
<?php
$my_username = "094009";
$command = escapeshellcmd("python /home/absenpmo.site/public_html/register.py $my_username");
$output = exec($command);
echo $output;
?>
you can pass some script for python like shell_exec() and in it you can pass variable