Jump to content

Get a variable from a cgi page..

Recommended Posts


All i want to do is to get a variable from this wepage:


[You can't see it if you are not logged in]

I just want to get a number which change oftenly on this page [as text, bold one]

Posted Image

2 problems: Secured, .cgi file...

I tried:

#include <IE.au3>
$win = _IECreate ("https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi?savedfiles=1&forbiddenfiles=0", 1, 1, 0)
$txt = _IEBodyReadHTML ($win)
MsgBox(0, "Body Text", $txt)

To get the html source of this page, but it returns me an error:

--> IE.au3 Warning from function _IEAttach, $_IEStatus_NoMatch

D:\AutoIt3\beta\Include\IE.au3 (2161) : ==> The requested action with this object has failed.:

Return $o_object.document.body.innerHTML

Return $o_object.document^ ERROR

It works with google, it must be because its a CGI file ..

Do you guys know if i can do a such thing?

If you explain me how to get the HTML source code, I will figure out how i can get only the number.

Thanks a lot

Sorry for my Bad English.
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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...