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,
?>
Moderator: General Moderators