Hi all!
Ok. I think my problem could be simple but I am not sure.
I can call a python script inside PHP like this:
$python = `python python.py 1234`;
echo $python
The problem is that I would like to add a user-input value to be processed in python-script.
So I assume it would go like this when simplified:
$user_input = 1234;
$command = 'python python.py';
$string = $command . ' ' . $user_input;
$python = $string;
echo $python;
Now the python-script is not executed. Any ideas what is my problem?
-Best wishes, Murzum