I am trying to execute a php script from within rails.
The action is triggered by a button.
if result = system(‘php test.php’)
flash[:notice] = result
However, it keeps returning false.
If I run the command from the Windows command line it works.