Welcome to Geeklog Wednesday, May 27 2020 @ 04:49 am EDT

Geeklog Forums

Newbie Help - Static Pages

Status: offline


Forum User
Registered: 12/09/05
Posts: 12
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:


$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();

$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();


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?


~~~ The science of doing it right ~~~

Status: offline


Forum User
Full Member
Registered: 26/05/03
Posts: 329
require ("http://remoteserver/config.php");
GeekLog Hosting, Installations and Upgrades - WWW.AWEHOST.COM - Hosting starts @ only $4.95/mo.


Thanks dude..

All times are EDT. The time is now 04:49 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