Posted on: 09/16/05 06:22am
By: SidiMustafa
Hi guys,
Slowy but surely i getting to come, with Geeklog, still need some help along the way,
I have manage to create a Staticpage, centered it, and use etc.
So far sogood....
now, i have this little script i find it begins as follows:
========================================
require("config.php");
$db->open("SELECT songlist.*, historylist.listeners as listeners, historylist.requestID as requestID, historylist.date_played as starttime FROM historylist,songlist WHERE (historylist.songID = songlist.ID) AND (songlist.songtype='S') ORDER BY historylist.date_played DESC LIMIT 6");
$history = $db->rows();
reset($history);
$db->open("SELECT songlist.*, queuelist.requestID as requestID FROM queuelist, songlist WHERE (queuelist.songID = songlist.ID) AND (songlist.songtype='S') AND (songlist.artist '') ORDER BY queuelist.sortID ASC LIMIT 2");
$queue = $db->rows();
reset($queue);
========================================
now that config.php that it requires lies on another server (winXP)
how do i instruct this .php file to fetch the config from that server..
is this possible..
how do i have to copy that config.php from that server by every update to my WWW server where geeklog is running?
thnks
Newbie Help - Static Pages
Posted on: 09/16/05 08:08am
By: vadertech
require ("http://remoteserver/config.php");
Newbie Help - Static Pages
Posted on: 09/16/05 09:58am
By: Anonymous (Sidimustafa)
Thanks dude..