Own DynDns Service, serverside script.


/ Published in: PHP
Save to your folder(s)

Serverside script for a personal DynDNS service.
Works together with a clientside script written in ruby [ http://snipplr.com/view/55484/own-dyndns-service-clientside-script/ ] .

Redirect to current saved IP(http, port 80):
http://dynDns.yourveryownhost.com/

Update with current IP:
http://dynDns.yourveryownhost.com/?updateIp

Show saved IP:
http://dynDns.yourveryownhost.com/?showIp

The getIpAddr-function is based on a blog-post written by Roshan Bhattarai [ http://roshanbh.com.np/2007/12/getting-real-ip-address-in-php.html ]

URL: http://madcity.at/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.