Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to run php script from sql trigger ?

b4daacf8-c5fb-4569-b135-9295ead53d10Aug 1 2014 — edited Aug 4 2014

MyTable

FOR EACH ROW

BEGIN

DECLARE cmd CHAR(255);

DECLARE result int(10);

SET cmd=CONCAT('/usr/bin/php ', '/home/test/beta/demo.php');

SET result = sys_exec(cmd);

END;

@@

DELIMITER

This is not working plz help me on this topic else

run html from sql trigger

Thank you

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 1 2014
Added on Aug 1 2014
3 comments
1,613 views