* Php port scanner
* By tobozo & ThD
* - Copyleft ©2001 under GPL - part of the mAdmin project
* The purpose of this script is to test local connectivity
* from a php script by opening tcp connections.
* It works fine locally but it's not reliable on hosts
* where ping response is over 50ms