View file anekdot_base.php
<?php $text = file("anekdot_base.dat"); $top = rand(0,count($text)-1); $out = explode("|||",$text[$top]); print "$out[1]"; ?>
<?php $text = file("anekdot_base.dat"); $top = rand(0,count($text)-1); $out = explode("|||",$text[$top]); print "$out[1]"; ?>