edan Posted September 8, 2007 Posted September 8, 2007 Hi ,Why does _INetGetSource and _INetGetSize doesnt work on this kind of urls --> http://basketball.isgreat.org/news.phpMaybe becouse it is a subdomain but,It used to work but now when i try it it doesnt . . .If any one manage to use it to get source and size i would really appriciate it Thanks
Gif Posted September 8, 2007 Posted September 8, 2007 Not all servers will correctly give the file size, especially when using a proxy server.you can use inetget() and filegetsize() now for source you can use: #include <IE.au3> $rs = _IECreate('http://basketball.isgreat.org/news.php', 0, 0, 1, -1) $src = _IEDocReadHTML($rs) MsgBox(0, '', $src) _IEQuit($rs)
edan Posted September 8, 2007 Author Posted September 8, 2007 you can use inetget() and filegetsize() now for source you can use: #include <IE.au3> $rs = _IECreate('http://basketball.isgreat.org/news.php', 0, 0, 1, -1) $src = _IEDocReadHTML($rs) MsgBox(0, '', $src) _IEQuit($rs) I really prefer using InetGetSource becouse it brings back exactly what i need , Is there another way i can use it ? And again , until now it worked perfectly ..
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