Jump to content
Sign in to follow this  
tommytx

Simple way to get the InetGet results into a variable?

Recommended Posts

tommytx

I looked at the help file but unless I missed it, I did not see a way to receive the results of InetGet() into a variable... is it possible? Like InetGet($url, $sHTML). I want to bypass the wasted step of saving it to file before I can work on it.

Currently I am wasting resources using it like this:

****************************************************

$url = "http://mydomain.com/mystats.htm"

InetGet($url, "mydat.htm")

_IENavigate ($oIE, "C:\mydir\mydat.htm")

$sHTML = _IEDocReadHTML ($oIE)

Share this post


Link to post
Share on other sites
somdcomputerguy

Try it with this function, _INetGetSource.


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

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  

×