Question: Project Info: For both projects, have a calling main php that includes the function and class as separate files. Write all primary application code in

 Project Info: For both projects, have a calling main php that

Project Info: For both projects, have a calling main php that includes the function and class as separate files. Write all primary application code in the main php page. A user can enter any IP Address or Mac Address on the main php page, and the output will show the 0 based IP Address, or the valid Mac Address. Project1 - function Create a network function called ip_to_zero. It takes an ip address like 192 168 1 1, and returns 192 168 001.001 Create a network functions class called ipUtils.php. It has 2 functions, The ip_to_zero from above. And also a valid_mac function. This means if someone enters the Mac Address aa.bb.cc.dd.ee.ff, then it returns AA BB CC DD EE FF. If someone enters dd ee ff, it returns,00:00:00 DD EE FF

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!