Using PHP ping multiple IP address and get results individually with AJAX

  php

I want to ping multiple IP addresses and get the result individually for each single IP address as soon as it gets the success or fail ping response with AJAX request.

Apologizes, because I did not have any codes yet.

Below is a picture of how I actually want it to be shown in front-end.

Sample Picture

In the picture it shows "Loading…" for the result of the next IP ping response result and when the next IP get’s the ping response success or fails it should print the result and show "Lording.." again to wait for the next IP ping response result.

If anyone has any way that I can construct the code for above It will be really appreciated.

Source: Ask PHP

LEAVE A COMMENT