Hello, my name is Jan and I live in a small town Kutna Hora in Czech Republic. I have made a web-service "IPcfg.com" and I want to tell you for what it is for and how to use it.
"IPcfg.com" is not just showing your IP-address at the entrance to the main page, but provides useful services.
Small, but simple and easy-to-use web-service "IPcfg.com" will help you. Of course, you can set up a difficult monitoring system, which is used for professional servers. But why do you need it for performing simple actions? With "IPcfg.com" you do not need to be the high-class expert to start using it.
Visit demo account and see how things work. And if you like it – complete a simple registration and use "IPcfg.com" for free. Registration is necessary to make sure of the correctness of e-mail, on which you will be getting signals, of course, if you want it.
API "IPcfg.com" has no limitation of the number of requests, and the requests are stored for 30 days.
If something seemed to you inconvenient or there is a lack of any function – please write me and I'll try my best to do it for you.
http://ipcfg.com/api.php
Empty request returns your IP-address.
u - User Name
n - Code
d - Any data
t - Time offset from UTC
http://ipcfg.com/api.php?u=demo&n=743897626354674&d=test_connect&t=+1
Use WGET and scheduler:
wget "http://ipcfg.com/api.php?u=demo&n=743897626354674&d=test_connect&t=+1" --spider
$url = "http://ipcfg.com/api.php?u=demo&n=743897626354674&d=test_connect&t=+1" $wc = new-object system.net.WebClient $result = $wc.DownloadData($url)
Use GET and cron:
GET 'http://ipcfg.com/api.php?u=demo&n=743897626354674&d=test_connect&t=+1'
With sockets:
$conn = @fsockopen("ipcfg.com", "80",$errno, $errstr, 1);
$url = "/api.php?u=demo&n=743897626354674&d=test_connect&t=+1";
fputs ($conn, "GET $url HTTP/1.0\r\nHost: ipcfg.com:80\r\n\r\n");
while (!feof($conn)) {
$result .= fgets ($conn,128);
}
fclose ($conn);
or cURL
$url = "http://ipcfg.com/api.php?u=demo&n=743897626354674&d=test_connect&t=+1"; $conn = curl_init(); curl_setopt($conn, CURLOPT_URL, $url); curl_setopt($conn, CURLOPT_VERBOSE, 1); curl_setopt($conn, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($conn, CURLOPT_POST, 0); $result = curl_exec($conn); curl_close($conn);
use LWP; $url = 'http://ipcfg.com/api.php?u=demo&n=743897626354674&d=test_connect&t=+1'; $result = LWP::UserAgent->new->request(new HTTP::Request GET => $url);
import urllib2 url = 'http://ipcfg.com/api.php?u=demo&n=743897626354674&d=test_connect&t=+1' conn = urllib2.Request(url) result = urllib2.urlopen(conn)
HttpWebRequest conn = (HttpWebRequest)WebRequest.Create("http://ipcfg.com/api.php?u=demo&n=743897626354674&d=test_connect&t=+1");
conn.GetResponse();
url = "http://ipcfg.com/api.php?u=demo&n=743897626354674&d=test_connect&t=+1"
set http = CreateObject("Microsoft.XMLHTTP")
http.Open "GET", url, false
http.Send
result = http.ResponseText