php - Could not connect to a specific host -
i trying contents of http://betsbc.com. nothing this: curl, wget, file_get_contents
, ruby's file.open
, python's urllib2.urlopen
. nothing. can open browser successfully. ve tried in cloud9 , hosting.
what doing wrong?
thanks in advance
curl seems work me.
it returns html page structure no content, i'd guess it's generated in javascript.
you may have connectivity limitations are, preventing access website.
here can see content returned: pastebin.com/8jype9b1
$ curl http://betsbc.com <html><head><title>betcity - ▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒</title> <meta name="keywords" content="betcity,▒▒▒▒▒▒▒,▒▒▒▒▒▒▒▒▒▒▒▒,▒▒▒▒▒▒▒▒,▒▒,▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒,▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒,▒▒▒▒▒▒,▒▒▒▒▒,▒▒▒▒▒▒▒▒▒▒,live ▒▒▒▒▒▒▒▒▒▒,live ▒▒▒▒▒▒,▒▒▒▒▒▒▒▒▒,▒▒▒▒▒▒,▒▒▒▒▒▒,▒▒▒▒▒▒,on-line,sports,soccer,hockey,basketball,tennis"> <meta name="page-topic" content="sports"><meta name="description" content="betcity - ▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒. ▒▒▒▒▒ ▒▒▒▒▒▒ ▒▒ ▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒."> <meta http-equiv="x-ua-compatible" content="ie=edge"> <script type="text/javascript"> var gajshost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3cscript src='" + gajshost + "google-analytics.com/ga.js' type='text/javascript'%3e%3c/script%3e")); </script> <script type="text/javascript"> try { var pagetracker = _gat._gettracker("ua-120364-2"); pagetracker._trackpageview(); } catch(err) {}</script> </head> <frameset rows="111,*,38" border="0"> <frame name="btop" src="top.php" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" noresize> <frame name="center" src="center.php" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" noresize> <frame name="bottom" src="bottom.php" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" noresize> </frameset></html>
Comments
Post a Comment