quiero acer 1 rotador de scripts PHP por tanto ize este codigo
<?php
$img_num = rand(0,3);
header("Content-type:/php");
$lines = file($img_num . ".php");
foreach ($lines as $line) {
echo $line;
}
?>
y luego creo 0.php, 1.php , 2.php , 3.php , pero no me funciona , cual es el fallo?