<?php $post_content = json_encode($_POST); $command = "python3 middle.py {$post_content}"; $output = passthru($command); echo $output; ?>