[Solved] how to execute a cmd in sql?


You may be simply missing a space between the .php file and the parameter. With your code, the invocation command line would look like this;

php C:/xampp/htdocs/sample/sms_send.phpsomething

I doubt you have a file with that name. Add a space after .php and see what happens:

lclcmd := CONCAT('php C:/xampp/htdocs/sample/sms_send.php ','something');

Do post the error messages you may be receiving.

11

solved how to execute a cmd in sql?