FireFox Posted December 22, 2010 Share Posted December 22, 2010 Hi, I want to know if there is a variant of _InetGetSource (or InetRead combined to BinaryToString) because the option to force a reload from the remote site does not work. Br, FireFox. Link to comment Share on other sites More sharing options...
whim Posted December 22, 2010 Share Posted December 22, 2010 (edited) Try wget it has loads of options, an extract from wget --helpHTTP 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 December 22, 2010 by whim Link to comment Share on other sites More sharing options...
FireFox Posted December 22, 2010 Author Share Posted December 22, 2010 (edited) 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 December 22, 2010 by FireFox Link to comment Share on other sites More sharing options...
iamtheky Posted December 22, 2010 Share Posted December 22, 2010 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 More sharing options...
FireFox Posted December 22, 2010 Author Share Posted December 22, 2010 (edited) 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 December 22, 2010 by FireFox Link to comment Share on other sites More sharing options...
FireFox Posted December 22, 2010 Author Share Posted December 22, 2010 (edited) $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 December 22, 2010 by FireFox Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now