Linux Gazette: Developing Web Applications – Part II

As I promised, I was going to give you guys another example
of a php3 program. This program is a very simple program, and yet
somewhat useful.

“One night, I was at the university working and I tried to call
home to talk to my wife. Unfortunately, I had left my computer
connected that day, and could not get through. So, since my
computer was running Apache, I decided to scan through the IPs of
my ISP , and find out which computer was my computer, so I could
telnet to it, and remotely disconnect it.”

“The fastest, and simplest way to do this was either through
php3 or java, but since I am not very fond of java applets, I
decided to do it in php3.”