Quote:
Originally posted by Validus
I wonder why this doesn't work. Anybody have any ideas?
<?
$fp = fopen("source.php", "r");
$out = fread($fp, filesize("output.php"));
?>
<? echo $out; ?>
|
you are opening source.php and using filesize of output.php.
you should use the filesize of source.php. remember to close $fp
