Witam oto problem
Witam Zrobiłem skrypt php na e-rds shoutcast 2 i chce zrobic zeby na vps sie sam uruchamiał url np. google.pl i odswiezal sie co 20 sekund ale uruchamiać chce go komendą php e-rds.php
skrypt :
<?php
$teksts = array();
//kolejne teksty dodajemy wpisujac linijke: "$teksts[] = 'TWOJ TEKST';"
$teksts[] = "Pole1";
$teksts[] = "Pole2";
$teksts[] = "Pole3";
$teksts[] = "Pole4";
$teksts[] = "Pole5";
$ktory = array_rand($teksts);
echo '<html><head><meta http-equiv="Refresh" content="20"></head><body><iframe src=http://80.211.2.14:8000/admin.cgi?pass=pasydoshoutcast&mode=updinfo&url=songurl&song='.$teksts[$ktory].'></iframe>'
?>
Jak to zrobić