I want to include external PHP script in Magento CMS Pages
e.g.
**http://myhost/magento/custom/script.php**
<?php echo "hello"; ?>
Result on Magento Page should be: “hello“
What would be the simplest way to do this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The best way would probably be via the Layout Update XML section (on the design tab). You can either create a new block for your template php file, or use
Mage_Core_Block_Template. Add this: