I’m just sortof throwing something around in my mind and was wondering something…
Is it possible to return the exact text of a PHP page UNPARSED, meaning return the raw page as if it were a text file?
I want to do this without having to shut off PHP momentarily. The rest of the site should still work fine. I’m just wanting to implement it like this:
www.mysite.com/debug/getcode.php?page=index.php
Where “getcode.php” would return the exact text of index.php, without actually running anything in index.php (so include or require would not work)