Sign in to follow this  
Followers 0
edan

Inet

3 posts in this topic

Hi ,

Why does _INetGetSource and _INetGetSize doesnt work on

this kind of urls --> http://basketball.isgreat.org/news.php

Maybe 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

Share this post


Link to post
Share on other sites



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)

Share this post


Link to post
Share on other sites

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 ..

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0