February 24th, 2013, 07:47 AM
Launching PHP script from .exe file
I need to create a exe file for a client which need to run a PHP script to transfer data between 2 different servers. The exe will be one server and will be set to run as scheduled job in windows system.
Please let me know how to create the exe file and run php script from their.
February 24th, 2013, 07:54 AM
Will that .exe do anything besides run a PHP script? If not then why not just make the script be the one in the scheduled task?
February 24th, 2013, 08:00 AM
Thank you for your quick reply.
The exe will only run PHP script.
My client wants it to be a .exe file, so a solution to this would be helpful.
Do let me know how to set a PHP script to be scheduled task in windows system.
February 24th, 2013, 06:49 PM
Can you tell them that it's stupid to make an .exe whose only purpose is to run a PHP script? Really, really stupid. It's like sending an envelope inside a shipping crate.
I know they're the client but you are the developer and they have to be able to accept advice from you.