开发者

Is it possible to call a PHP file from within a stored procedure?

开发者 https://www.devze.com 2023-02-15 07:05 出处:网络
I am working on a private PHP project to teach myself new stuff. One of开发者_如何学C the things I am learning with the project are MySQL stored procedures. I have a working news module, which does no

I am working on a private PHP project to teach myself new stuff. One of开发者_如何学C the things I am learning with the project are MySQL stored procedures. I have a working news module, which does not yet support automatic RSS-Feed generation.

While programming that part, I was wondering if you can execute a PHP file from within a stored procedure. The reasoning is that I would not need to worry about when to update the XML-File, kind of like a TIMESTAMP field with ON UPDATE CURRENT_TIMESTAMP

So, can you execute a script from within a stored procedure?


No you can't do that.

MySQL doesn't know how to handle PHP scripts.

0

精彩评论

暂无评论...
验证码 换一张
取 消