Hi all,
I've noticed recently that one of my PHP scripts have stopped working. It was still working up till about one week ago.
It is a simple script that calls fsockopen to send a small UDP packet to my home machine when I get a visitor hitting a certain page within my website. The script still works on my university server, and my IP hasn't changed since then.
Here is a snip of the code:
>$myip = "xxx.xx.xxxx.xx";
$notifyfp = fsockopen ("udp://$myip", 12001, &$errno, &$errstr, 0.1);
if ($notifyfp) {
$notifymessage = "Visitor!";
fputs ($notifyfp, $notifymessage);
fclose ($notifyfp);
}
Any clues why this has stopped working all of a sudden? I have a program that listens for incoming UDP packets on port 12001, and it doesn't register when I load the script from my TCH server, but works ok when I load the script from my uni server.
Thanks in advance.
TCH-Bruce - edited out your IP number for security resaons.