PHP Unzip and Subnet Mask Calculator