title: Load page that will return that the address was not found. (basically load an non-loadable page)
body: <p>Okay, my title is probably not describing especially much, however, here's my PHP code:</p>
  
  <pre><code>&lt;h1&gt;404 Server Error&lt;/h1&gt;
  &lt;?php
  $ip = $_GET['ip'];
  if($ip) {
  $ip = str_replace('%3A', ':', $ip);
  $ip = "http://" . $ip;
  for($i = 0; $i &lt; 11; $i++) {
  $ch = curl_init($ip); // (Also tried file_get_contents($ip); instead, but didn't work
  curl_setopt($ch, CURLOPT_TIMEOUT_MS, 200);
  curl_exec($ch);
  curl_close($ch);
  }
  }
  ?&gt;
  </code></pre>
  
  <p>I basically want it to load a page that will look something like:
  <a href="http://123.456.789:80/" rel="nofollow">http://123.456.789:80/</a>
  (which if you go to the actual site, it will return that the server/site was not found)
  But it still gets through the message (I've tried so I know this)</p>
  
  <p>Anyway, CURL nor file_get_contents will work for this as they expect something in return and just keeps running for ages, as they try find the page. But I want them to send a request to the page, then cancel, how would I do this?</p>
  
  <p>TLDR: I want to make the php script send a request/load a page for just a millisecond/second even if it can't load the actual page. </p>
  
  <p>Thanks in advance.</p>
  
  <p>TEMPSOLUTION: I'm using <code>&lt;iframe src='" . $ip . "'&gt;&lt;/iframe&gt;</code> as a temp-solution.</p>