iCeR Posted December 21, 2010 Share Posted December 21, 2010 I have been using curl and curl_multi, but it takes about 500ms between each query. I am sending for example https://www.apidomain.com/user=test&pass=test It then should return an output of successful or unsuccessful. How can I do this to run the url in a loop of 10 iterations, without curl, but with the speed of a millisecond or less? Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/222280-quickest-way-for-http-post/ Share on other sites More sharing options...
trq Posted December 21, 2010 Share Posted December 21, 2010 How can I do this to run the url in a loop of 10 iterations, without curl, but with the speed of a millisecond or less? Your dreaming if you think you can get a web request to execute within a few milliseconds. How long does it take your browser to get the same page? Quote Link to comment https://forums.phpfreaks.com/topic/222280-quickest-way-for-http-post/#findComment-1149815 Share on other sites More sharing options...
QuickOldCar Posted December 21, 2010 Share Posted December 21, 2010 I think 5 centiseconds is pretty fast already. Quote Link to comment https://forums.phpfreaks.com/topic/222280-quickest-way-for-http-post/#findComment-1149819 Share on other sites More sharing options...
QuickOldCar Posted December 21, 2010 Share Posted December 21, 2010 Another thought, That's where a popular phrase holds true. 300 to 400 milliseconds = the blink of a human eye Quote Link to comment https://forums.phpfreaks.com/topic/222280-quickest-way-for-http-post/#findComment-1149820 Share on other sites More sharing options...
iCeR Posted December 21, 2010 Author Share Posted December 21, 2010 Thanks guys. Re-thinking this.. Quote Link to comment https://forums.phpfreaks.com/topic/222280-quickest-way-for-http-post/#findComment-1149942 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.