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

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.