How to include/execute external PHP file in Magento??
Asked by: Pratik
I have created one php file that I need to execute as soon as customer press PLACE ORDER tab i.e. at the time of Order Creation.
So how should I include that file in Magento code? & more importantly exactly where?
That files contains Mysql query statement that fetch data from Magento tables & inserts it in newly created CUSTOM table.
So plz guide me…where exactly I should write code for the same…
Or how can I execute that php file as soon as customer places order…