Page 1 of 1

Detecting a Host(s) IP and displaying a page accordingly.

Posted: Sat Mar 22, 2008 3:24 pm
by DJ-Ultrez
Hi there,

Havn't been using PHP very long, and although I have muddled my way through so far, I have reached a brick wall. I guess I should go out and buy a book. On the offchance though, I thought I would ask here.

I work for a radio station, and I've setup all the relevant files, so that each DJ, now has a playlist and whoever is tuned into the radio station, can look at the DJs playlist, and request songs, this all runs very nicely and uses MySQL. All the pages used are either .php or JS.

The issue isn't with that at all. On the main page, I want the webpage to determine the DJs IP Address, and once it has this, I want it to go find the pages, for that DJ, and display them on the front page. Thus making the life of the listener tuned in, as easy as possible.

Anyone know how this could be achieved?

Thanks.

Re: Detecting a Host(s) IP and displaying a page accordingly.

Posted: Sat Mar 22, 2008 9:08 pm
by Weirdan
I want the webpage to determine the DJs IP Address
Your DJs are equipped with network adapters? :D What is 'DJs IP address'?