How do I save a php file as executable so that I can get windows task scheduler to execute it.
Thanks
i believe you can just associate the .php extension with the php.exe executable and then windows will do the rest
When i save it as php.exe and try to run the executable i get an error "not a valid win32 application"
no, i mean you have to associate the file with the php.exe in windows registry and then when you try executing the file windows should call php.exe to execute it.
How do you do that?
this is from php's manual
http://www.php.net/manual/en/features.commandline.php