I have a website where I use [insert_php] to insert php content to my page. What I do is simply use php's include inside insert_php to include my complex php script.
I asked a question a while ago, and got highly criticized for doing it this way and using insert_php. What is the right way to do this?
Let me explain what I have: I wrote a php page with my hands from scratch. This php executes some sophisticated commands on my system and extracts data from my server and displays them. What is the right way to include this php script/page in a wordpress page to display data?