Author Topic: Request plug-in question  (Read 282 times)

nchuijg

  • Jr. Member

  • Offline
  • **
  • 62
    • THE OLDIE STATION
Request plug-in question
« on: July 29, 2018, 02:35:02 PM »
Hello everybody,

there is the solution :)

Code: [Select]
function db_conn() {
global $opened_db, $mysql_server, $mysql_user, $mysql_pass, $mysql_database;

@$opened_db = mysql_connect($mysql_server, $mysql_user, $mysql_pass);

if (!$opened_db) {

echo '<p>For the moment, our server is off-line.<br />Please come back later...</p>';
require_once('footer.php');

die();

} else {
@mysql_select_db($mysql_database)
or die(mysql_error());
}

mysql_query("SET NAMES 'utf8'");

}



Thank you for your desire to help me.

Regards

I use the now_playing.php script from the RadioDJ download side, i had also problems with the Cyrillic characters, can i use this php script also? and when yes, where i have to put in the now_playing script?

Thanks in advance, Nico.

RFU

  • Sr. Member

  • Offline
  • ****
  • 395
    • Radio Free Ukraine
Re: Request plug-in question
« Reply #1 on: July 30, 2018, 11:30:01 AM »
The request script and the now playing script are two different scripts
Гордий бути українцем, Ми - Радіо Вільної України.