Hi,
My name is Ivan and I'm new around here and to PHP. I have some minor experience with some programming languages and as i had read through some tutorials, there's no mistery on the PHP syntax. I understood all the examples simply, so i guess i will not have a hard time figuring everything out and develop my first apps.
Anyway, the reason i am posting here is because i need something a little different from what i 've around the internet.
I'm developing a new web-site for my band, and we want it to have a streaming radio, using shoutcast. THe problem is that the server will run from my computer, which has a dynamic IP. Ok, i can correct that using the dydns service. But i need something to change the image when i'm not connect....
Let me try to explain it more clearly : If i am connected, the page shows image x and links to the streaming audio server. Else, it displays image y and links to another page.
The biggest problem there is how to verify if I am on line or not. How can i do such a thing ? Is there a function or something like it that could verify my IP and put the IP on the page whenever i logged in there, or connected or whatever ?
Thanks,
Ivan Jangoux