But i would only like to read within the body tags, how do i do that?
If someone could give me an example i could work from, that would be awsome.
Thanks
Code: Select all
<?php
include 'index.php';
$file = "$_GET['item']";
$fp = fopen($file, "r");
while(!feof($fp)) {
?$data = fgets($fp, 1024);
echo "$data <br>";
}
fclose($fp);
?>