This is a follow up question to one that I posted earlier.
I have a html button that I would like to run a python script:
<form name = "input" action = "script.php" method = "get">
<input type= "submit" name = "submit" value="Submit" />
</form>
And the php it accesses looks like:
<?php exec("python /c/wamp/www/thursday.py");?>
My problem is that the code is not executing, and I am not receiving anything in my error log. What am I doing wrong?
My python code organizes images in a folder and asks for user input if the file is named incorrectly according to the way it organizes.
Will the python code still ask for input if it is run from a web server?
Sources I've looked at: Create HTML button to run Python Script and run python script with html button