Sign in to follow this  
Followers 0
autoitxp

HttpSetProxy() What crap ?

9 posts in this topic

Hi

i want to know how to use HttpSetProxy() ? can i use with _iecreate ?

#include <IE.au3>

HttpSetProxy(2, "127.0.0.1" , 8080)

$oIE = _IECreate ("www.autoitscript.com")

Nothing happens ?

Share this post


Link to post
Share on other sites



The SetProxy functions are only for the Inet functions.

Share this post


Link to post
Share on other sites

Hi

(Jon) can you provide the code of that function. I also got trouble with it.

Thanks!

Mega


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

k how to get soruce using HttpSetProxy

#include <INet.au3>
ConsoleWrite(_INetGetSource('www.autoitscript.com'))

Share this post


Link to post
Share on other sites

HttpSetProxy(2, "127.0.0.1" , 8080)

So your username is 8080?

Help file: HttpSetProxy(2, "www.proxy.com:8080")

Only CERN proxy servers are supported.


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

its port not user name im using transparent proxy at port 8080 no user name no password

Edited by autoitxp

Share this post


Link to post
Share on other sites

its port not user name im using transparent proxy at port 8080 no user name no password

So the syntax that you posted in your OP is crap.

HttpSetProxy(2, "127.0.0.1" , 8080) ;your posted code

HttpSetProxy(2, "127.0.0.1:8080") ;from the help file

You might want to change the title of your thread - you might get more help :-)

"HttpSetProxy() What crap ?"


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

k how to get soruce using HttpSetProxy

#include <INet.au3>
ConsoleWrite(_INetGetSource('www.autoitscript.com'))
I do not think _InetGetSource will work with SetProxy, as it is an UDF.

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

Hi

how to know that proxy used in httpSetProxy() working or not coz it Returns 1 for success Returns 0 to Failure

but but but

every time it return to 1 even proxy waz dead so how to know that proxy working or nt ?

Edited by autoitxp

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  
Followers 0