Update network.php

A php network script with a lot of network and system functions.run on cli.