[RESOLVED] Include HTML Only
I Need A Include Statement That Will Include The HTML File Without letting the HTML File Run PHP, Thank You.
readfile(), although the output would then include any PHP source code within that file -- not sure if that's what you want?
Last edited by NogDog; 07-11-2012 at 10:55 AM.
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
You could use readfile() as nogdog suggested, then use either DOM or string functions to remove any php blocks.
Thank You!! It Will Hide <? and <?php but nothing else Thank You Lots
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread