poiuylkjhg Posted March 12, 2017 Share Posted March 12, 2017 Can anyone explain why InetRead gives the empty string for some sites? HttpSetUserAgent("Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; Avant Browser; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET4.0C; .NET4.0E; Avant Browser)") Opt("TCPTimeout",20000) HttpSetProxy(1) ;this works $ccc=BinaryToString(InetRead("https://google.ru",1),4) MsgBox (0,"title",$ccc) ;this doesn't work ( gives the empty string ) $ccc=BinaryToString(InetRead("https://ya.ru",1),4) MsgBox (0,"title",$ccc) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now