Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 19:36:11 +0000



Post From: Call External Program on Alert Not Working

[2021-05-27 02:33:15]
Metzenovich - Posts: 10
I want to run an external PHP program when an alert gets triggered.

I've tried entering these into the field:
c:\php\php.exe c:\folder\script.php
c:\php\php.exe -f c:\folder\script.php
c:\\php\\php.exe c:\\folder\\script.php
c:/php/php.exe c:/folder/script.php

All of these result in:
"Error creating process c:\php\php.exe c:\folder\script.php. Windows error code 2: The system cannot find the file specified.

If I run these from the command prompt it works fine:
c:\php\php.exe c:\folder\script.php
c:\php\php.exe -f c:\folder\script.php

What is the right way to format this?

Thanks!