Jump to content

Need advice, not code.


dagnasty

Recommended Posts

So I'm working on a bittorrent search engine.

Here's a sample of what i've gotten done so far http://comptechcomputers.com/tsearch/tsearch.php



What I want to do is get rid of iframes altogether. However, if a site were to not respond to an http search query request it would hold up the whole page until cURL spit out an error or the site finally responded to the request.

My question:

How would I go about finding out if a torrent site (a page in particular)is responding to http requests. Is there a way to send a short request for maybe http headers (?) instead of the whole page, and set a timeout limit of maybe 3 seconds so it doesn't hold up the page's loading terribly slow if in fact the site isn't responding?

A simple ping would not suffice, of course, because it doesn't not tell if an http server is up on it.



Link to comment
https://forums.phpfreaks.com/topic/13887-need-advice-not-code/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.