Displaying 1 result from an estimated 1 matches for "load_stock".
Did you mean:
load_block
2007 Dec 05
5
Running php from RoR
Hello...
I am trying to execute a php script from within rails.
The action is triggered by a button.
def load_stock
if result = system(''php test.php'')
flash[:notice] = result
end
end
However, it keeps returning false.
If I run the command from the Windows command line it works.
Any ideas?
Thank you.
GPB
--~--~---------~--~----~------------~-------~--~----~
You received this m...