Everything is running fine at the moment.. apart from one thing which is really getting my hair up!
I'm using a standard <textarea> to display the page I want to edit.. but the problem is the page I'm trying to display is executing it's PHP code before it gets displayed.. so I just see the final results and not the whole page.
Does anyone know a way around this?
Basically all I'm trying to do is READ and DISPLAY a PHP page without it executing.
This code I'm using for this at the moment is.....
Code: Select all
$OPEN=fopen($FILE, "r");
$CONTENT=fread($OPEN, 50000);
fclose($OPEN);
echo("<textarea class=display rows=500 cols=150>");
echo($CONTENT);
echo("</textarea>");Thank-you.