im using files as data-base
so its realy importent but the fopen() dose not read all the file content ....
why?
this is the code:
<?php
function FileOpen($dir)
{
$fop = fopen($dir, 'r');
$content = fread($fop, '999');
fclose($fop);
return $content;
}
$content = FileOpen("adminpanel/db/guides.php");
for($i=0;$i<50;$i++){
echo $content[$i];
}
?>