View file scripts/news.php

File size: 218B
<?php

$data_news = "data/data_news.dat";
$data_n = fopen("$data_news","r+");
$dat = fread($data_n,filesize($data_news));
list($name, $news) = explode(":::", $dat);
echo"$name</br>$news";
fclose($data_n);
?>