Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>As per your last comment..</p> <p>Download <a href="http://code.google.com/p/rolling-curl/source/browse/trunk/" rel="nofollow noreferrer"><code>RollingCurl.php</code></a>.</p> <p>Hopefully this will sufficiently spam the living daylights out of your API.</p> <pre><code>&lt;?php $url = '________'; $fetch_count = 150; $window_size = 5; require("RollingCurl.php"); function request_callback($response, $info, $request) { list($result0, $result1) = explode("&lt;br&gt;", $response); echo "{$result0}&lt;br&gt;{$result1}&lt;br&gt;"; //print_r($info); //print_r($request); echo "&lt;hr&gt;"; } $urls = array_fill(0, $fetch_count, $url); $rc = new RollingCurl("request_callback"); $rc-&gt;window_size = $window_size; foreach ($urls as $url) { $request = new RollingCurlRequest($url); $rc-&gt;add($request); } $rc-&gt;execute(); ?&gt; </code></pre> <hr> <p>Looking through your questions, I saw <a href="https://stackoverflow.com/questions/4579440/multiple-https-requests-how-to/#comment-5027787">this comment</a>:</p> <blockquote> <p>If the intention is domain snatching, then <strong>using one of the established services is a better option</strong>. Your script implementation is hardly as important as the actual connection and latency.</p> </blockquote> <p>I agree with that comment.</p> <p>Also, you seem to have posted the "same question" approximately <strong><em>seven hundred times</em></strong>:</p> <p><a href="https://stackoverflow.com/users/558865/icer">https://stackoverflow.com/users/558865/icer</a><br> <a href="https://stackoverflow.com/users/516277/icer">https://stackoverflow.com/users/516277/icer</a></p> <blockquote> <p><a href="https://stackoverflow.com/questions/4331996/how-can-i-adjust-the-server-to-run-my-php-script-quicker">How can I adjust the server to run my PHP script quicker?</a><br> <a href="https://stackoverflow.com/questions/4473350/how-can-i-re-code-my-php-script-to-run-as-quickly-as-possible">How can I re-code my php script to run as quickly as possible?</a><br> <a href="https://stackoverflow.com/questions/4481946/how-to-run-curl-once-checking-domain-availability-in-a-loop-help-fixing-code-pl">How to run cURL once, checking domain availability in a loop? Help fixing code please</a><br> <a href="https://stackoverflow.com/questions/4483674/help-fixing-php-api-curl-code-please">Help fixing php/api/curl code please</a><br> <a href="https://stackoverflow.com/questions/4567492/how-to-reduce-virtual-memory-by-optimising-my-php-code">How to reduce virtual memory by optimising my PHP code?</a><br> <a href="https://stackoverflow.com/questions/4568182/overlapping-https-requests">Overlapping HTTPS requests?</a><br> <a href="https://stackoverflow.com/questions/4579440/multiple-https-requests-how-to">Multiple https requests.. how to?</a></p> </blockquote> <p>Doesn't the fact that you have to keep asking the same question over and over tell you that <a href="http://encyclopediadramatica.com/YOU_ARE_DOING_IT_WRONG" rel="nofollow noreferrer"><strong>you're doing it wrong</strong></a>?</p> <p><a href="https://stackoverflow.com/questions/4579440/multiple-https-requests-how-to/#comment-5027873">This comment</a> of yours:</p> <blockquote> <p>@mario: Cheers. I'm competing against 2 other companies for specific ccTLD's. They are new to the game and they are snapping up those domains in slow time (up to 10 seconds after purge time). I'm just a little slower at the moment.</p> </blockquote> <p>I'm fairly sure that PHP on a shared hosting account is the wrong tool to use if you are seriously trying to beat two companies at snapping up expired domain names.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload