Jump to content

Variant of _InetGetSource


FireFox
 Share

Recommended Posts

Try wget it has loads of options, an extract from wget --help

HTTP options:

--http-user=USER set http user to USER.

--http-passwd=PASS set http password to PASS.

-C, --cache=on/off (dis)allow server-cached data (normally allowed).

-E, --html-extension save all text/html documents with .html extension.

--ignore-length ignore `Content-Length' header field.

--header=STRING insert STRING among the headers.

--proxy-user=USER set USER as proxy username.

--proxy-passwd=PASS set PASS as proxy password.

--referer=URL include `Referer: URL' header in HTTP request.

-s, --save-headers save the HTTP headers to file.

-U, --user-agent=AGENT identify as AGENT instead of Wget/VERSION.

--no-http-keep-alive disable HTTP keep-alive (persistent connections).

--cookies=off don't use cookies.

--load-cookies=FILE load cookies from FILE before session.

--save-cookies=FILE save cookies to FILE after session.

--post-data=STRING use the POST method; send STRING as the data.

--post-file=FILE use the POST method; send contents of FILE.

Edited by whim
Link to comment
Share on other sites

Is there some reason you can just copy _INetGetSource and change it yourself?

_InetGetSource just combine inetread and binarytostring but the problems comes from the internal function inetread that I can't change.

Br, FireFox.

Edited by FireFox
Link to comment
Share on other sites

can you post a snippet in which InetRead($s_URL, 1) does not download from the remote site?

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Link to comment
Share on other sites

can you post a snippet in which InetRead($s_URL, 1) does not download from the remote site?

$sData = BinaryToString(InetRead('http://www.esl.eu/fr/mw2/gather/', 1), 4)

Br, FireFox.

Edited by FireFox
Link to comment
Share on other sites

$sData = BinaryToString(InetRead('http://www.esl.eu/fr/mw2/gather/', 1), 4)

Br, FireFox.

I think it comes from the website because I haved tried to list gathers with curl and it's the same thing...

If I don't find a solution, I will do it in php.

To be more clear, I want to list gathers every x seconds but the list is always the same; and when I refresh my webpage with my browser the list is updated.

Edited by FireFox
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...