Hello,
I have the following code:
<?
$filepath = "../globalssi/scripts/response_pages/$filename.html";
//$fp = fopen($filepath, "w");
//$content=fread($fp,filesize($filepath));
PRINT($filename);
?>
<TEXTAREA NAME="" ROWS="10" COLS="60"><?PRINT(readfile($filepath));?></TEXTAREA>
The $filename is passed via the URL. In the text area field all I get is a 0. Does it have anything to do with the file being HTML? I tried it with a txt file, and it works, but I want to modify a HTML file, but I get a zero returned.