I have been working on this since days. Looks complex or maybe I'm just naive. I want to render a simulation file to the user on click of a button.
I have used the correct answer from this, however, there are a many css and js files included in the index.html. And these files do not get loaded when i use readfile().
Since we wanted to validate a logged in user and then render the file, hence we are not serving the file through "get" methods or as src from an iframe.
Let me know if more details are needed. Could someone help me out..in the right direction.
Thanks in advance.