title: Determine whether an IP is online or not in PHP?
body: <p>I have a few IPs (other servers hosting large binary files) and their static IP.  </p>
  
  <p>When a user clicks on a link, I want to ping each server until it finds one that is online and redirect the browser to the appropriate URI.  If none of the servers are online, it should display an error.</p>