About

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.

  • Do you want to know if your computer at home or in your office is turning on in time of your absence?
  • Should your server send notifications on any events?
  • Do you need to get messages from the script of your site about specified actions of the user?

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.

API

API URL:

http://ipcfg.com/api.php

Empty request returns your IP-address.

Parameters:

u - User Name

n - Code

d - Any data

t - Time offset from UTC

Example:

http://ipcfg.com/api.php?u=demo&n=743897626354674&d=test_connect&t=+1

Windows: .BAT or .CMD

Use WGET and scheduler:

wget "http://ipcfg.com/api.php?u=demo&n=743897626354674&d=test_connect&t=+1" --spider

Windows: PowerShell

$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)

Linux:

Use GET and cron:

GET 'http://ipcfg.com/api.php?u=demo&n=743897626354674&d=test_connect&t=+1'

PHP

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);

Perl

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);

Python:

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)

C#:

HttpWebRequest conn = (HttpWebRequest)WebRequest.Create("http://ipcfg.com/api.php?u=demo&n=743897626354674&d=test_connect&t=+1");
conn.GetResponse();

VB Script:

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

–ейтинг GPS  луба. GPS навигаторы. GPS мониториг. GPS трекеры. √ЋќЌј——