If I run startIRsend.php
from the comamnd line, it works. If I try to start it from my HTML button the PHP code prints nothing in the terminal.
home.html:
<html>
<head>
</head>
<body>
<form action="startIRsend.php" method="post">
<input type="submit" value="Run me now!">
</form>
</body>
</html>
startIRsend.php
<?php
echo "hi";
?>