éjà, formule et écris correctement ton problème, après je reviendrai.
Car là, je ne saisi rien du tout.
Alex.
ok je vais essayer d'etre plus claire regarde ici
http://streaming.radionomy.com:8000/
je suis le mount point Modem-Radio-flux-Souvenir
voici la page ou se trouve le script :
http://modem.radio.free.fr/script%20rad ... chette.php
le script le ne fonctionne pas j'ai mis ceci :
- Code: Tout sélectionner
Citation:
<?php
/* --------------------- */
/* CODE COMPATIBLE ICECAST */
/* Script offert par Radios-fr.com */
/* Communauté sur la radio */
/* Script : Affichage gratuit de pochettes */
/* --------------------- */
/* CONFIGURATION */
$nom = "Modem-Radio-flux-Souvenir"; /* LE NOM DE VOTRE RADIO DANS LE REPERTOIRE ICECAST */
$taille="100"; /* LA TAILLE D'AFFICHAGE DE LA POCHETTE : Entre 50 et 100 ! */
$no="http://modem.radio.free.fr/script%20radio/pochettes/no_pic.jpg";
/* LA POCHETTE DE REMPLACEMENT EN ADRESSE ABSOLUE (METTRE http://) */
/* ICECAST NE PAS MODIFIER */
$fichier = "http://dir.xiph.org/index.php?sgenre=&stype=&search=$nom";
$fp = @fopen($fichier,"r");
$texte = "";
if($fp)
{
while(!feof($fp))
{
$texte = fgets($fp);
$find = eregi( '<font>(.*)</font>', $texte, $regs );
$currentsong = html_entity_decode ($regs[1]);
}
fclose($fp);
}
if ($currentsong=='') {
echo '';
} else {
list($artiste, $titre) = split('[-]', $currentsong);
}
/* AFFICHAGE DE LA POCHETTE - NE PAS MODIFIER */
$artiste = trim(str_replace(" ", "%20", $artiste));
$titre = trim(str_replace(" ", "%20", $titre));
include("http://www.radios-fr.com/po.php?artiste=$artiste&titre=$titre &taille=$taille&no=$no");
?></php>
ps: regarde demain car aujourd hui le serveur est down , mais meme quand le serveur est correce sans erreur cela ne fonctionne pas !!!!
j'aissaye de comprendre pourquoi le script ne fonctionne pas ,mais en vain .