var include file
Posted: Fri Jul 23, 2004 10:28 am
Hello,
I need to put the content of a file in a variable. How can I do that ?
I mean better than this :
їphp]
$handle = fopen($topmenufile, "r");
$topmenu = fread($handle, filesize($topmenufile));
fclose($handle);
ї/php]
Thanks,
?>
I need to put the content of a file in a variable. How can I do that ?
I mean better than this :
їphp]
$handle = fopen($topmenufile, "r");
$topmenu = fread($handle, filesize($topmenufile));
fclose($handle);
ї/php]
Thanks,
?>