Ciao!
Ho trovato questo script nella sessione php:
Il mio problema è che non so come impostare l'indirizzo dove ho le mie img!Codice PHP:
<?php
// How many pictures ?
$pics = "6"; // Name your images 1 - [whatever value you placed into $pics]
// Are your pictures gif or jpg or png ?
$ext = "jpg";
### --- Change nothing below this line --- ###
mt_srand((double)microtime()*1000000);
$PicRandom = mt_rand(0,$pics);
if ($PicRandom == "0") {
$PicRandom = "1";
}
echo "<img src=\"$PicRandom.$ext\" alt=\"image #$PicRandom\">" ;?>
Come faccio?
Grazie del vostro aiuto!