|
|
|
|
![]() ![]() |
Apr 6 2006, 05:15 PM
Post
#1
|
|
|
Nenad Bozidarevic Group: [MODERATOR] Posts: 1,013 Joined: 7-November 05 From: Belgrade, Serbia Member No.: 9,500 |
I really don't know how to do this, so I'm posting it in the general scripting sections. Mods, feel free to move this if necessary.
Anyhow, I have found a great Winamp plug-in that allows you to broadcast what you are listening to. Of course, it needs an appropriate server, and other internet users can listen to your radio if they visit http://YourIpAddress:UsedPort/listen.pls I have decided to put the link to my radio everywhere, but since I have a dynamic IP address it would be a problem to change the link all the time. What I need is someone to make me a script or anything I could use for the following. I would make a page at my web site that would contain the IP address. But since it changes all the time, I would need another page that would, when I visit it (every time I turn on my computer), change the IP address on the page and put in my new address (that the other page would find out). Something like that is offered by CO.NR, but they require that you put a piece of html code on your page, which I cannot do, since the page is automaticly generated by the server I run. Any ideas how to solve this problem? I believe it is not hard, but I have no expirience with this. |
|
|
|
Apr 6 2006, 07:52 PM
Post
#2
|
|
|
Way Out Of Control - You need a life :) Group: [MODERATOR] Posts: 2,043 Joined: 16-August 05 Member No.: 7,896 |
QUOTE f they visit http://YourIpAddress:UsedPort/listen.pls It can also be http://yoursystemname:UsePort And you can have a fixed system name, even if your IP address is dynamically changing. have a look at http://www.no-ip.com/ they will give you a fixed name you can link to, which name will be automatically converted to your real IP address everytime it changes. Read this : QUOTE No-IP™ is a leading managed DNS service provider. We offer a wide range of services pertaining to your internet presence, from managing DNS to getting around ISPs who block port 25. All of our services take advantage of our global network of redundant DNS and mail servers ensuring 100% uptime. I used this for a while when I wanted to have my own ftp server (of course I don't need this any more because I have astahost... |
|
|
|
Apr 7 2006, 07:27 AM
Post
#3
|
|
|
Nenad Bozidarevic Group: [MODERATOR] Posts: 1,013 Joined: 7-November 05 From: Belgrade, Serbia Member No.: 9,500 |
Just what I need! Now I'm waiting for my account to become active, so I can see if it works. But anyway, I'm still open for any answers concerning the page editing. Maybe a PHP page that displays the IP address from a MySQL base, which is updated from a form?
|
|
|
|
Apr 7 2006, 09:17 AM
Post
#4
|
|
|
Member [ Level 1 ] Group: Members Posts: 49 Joined: 7-March 06 Member No.: 11,803 |
Just what I need! Now I'm waiting for my account to become active, so I can see if it works. But anyway, I'm still open for any answers concerning the page editing. Maybe a PHP page that displays the IP address from a MySQL base, which is updated from a form? Yes that is definitely feasible, but you don't actually need a form for that, I believe PHP has functions that allow to retrieve a client's IP address when they visit the page, so you could just have a private page where you go to update your IP address. If you have enough patience to do it, you can also build a small program that runs on your pc in the background, visiting that page every half an hour or so, thus updating your IP address regularly. |
|
|
|
Apr 7 2006, 11:58 AM
Post
#5
|
|
|
Way Out Of Control - You need a life :) Group: [MODERATOR] Posts: 2,043 Joined: 16-August 05 Member No.: 7,896 |
QUOTE I believe PHP has functions that allow to retrieve a client's IP address when they visit the page Here he has to update the server's IP address, because the server has a fluctuating IP address. |
|
|
|
Apr 10 2006, 07:24 AM
Post
#6
|
|
|
Nenad Bozidarevic Group: [MODERATOR] Posts: 1,013 Joined: 7-November 05 From: Belgrade, Serbia Member No.: 9,500 |
I guess I'll stick with no-ip for now, because it's quite easy to use and it's doing exactly what I need. Since I have no PHP knowledge, I don't think I'll change this method
|
|
|
|
![]() ![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 13th October 2008 - 12:16 AM |