Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I have a folder in magento root dir with a php script and want to run/output it in a block.
What code is needed to run the script in a block?
You can try using include inside block's template.
Required, but never shown