Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 06:30 am EST
Geeklog Forums
Newbie Help - Static Pages
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
~~~ The science of doing it right ~~~
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
~~~ The science of doing it right ~~~
9
13
Quote
Sidimustafa
Anonymous
Thanks dude..
7
8
Quote
All times are EST. The time is now 06:30 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content