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! 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? 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. 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 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.. 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
Archived
This topic is now archived and is closed to further replies.