Welcome to Geeklog, Anonymous Tuesday, April 16 2024 @ 05:43 am EDT

Geeklog Forums

Newbie Help - Static Pages


Status: offline

SidiMustafa

Forum User
Newbie
Registered: 09/12/05
Posts: 12
Location:[NL]
brainy
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 ~~~
 Quote

Status: offline

vadertech

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

Sidimustafa

Anonymous
Thanks dude..
 Quote

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