$ipbase = get_user_input("What is the base IP? (Example: 192.168.1)"); $ipcurrent = get_user_input("What is the bottom IP? (Default 1)"); $ipend = get_user_input("What is the top IP? (Default 255)");