Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using a proxie in the PostUrl

Status
Not open for further replies.

KKCS

Programmer
May 4, 2003
6
VN
I want to access a cgi on the server. Coz i am generally browsing the web with an anonproxie i want to do this with the tool i code to access a cgi and sending postdata as well.
The prob i have is..how can i script powerbuilder to use an proxie for accessing an cgi ??

This is what i have:

n_cst_internet luo_data
GetContextService("Internet", iinet_base)
luo_data = CREATE n_cst_internet
lblb_args = blob(sPostdata)
llength = Len(lblb_args)
sheaders = "Context-Length: " + String(llength) + "~r~n"&
+"Referer: " + sReferer + "~r~n"
//messagebox("",sheaders)
iinet_base.PostURL(surl, lblb_args, sheaders, luo_data)


Do i have to change the regedit and setup a proxie there? Or isn`t there a other way?????


Regards,

KK
 
I had to do this for credit card processing recently and was unable to use the PostURL for exactly the same reason. I wound up using the Microsoft MSINET.OCX which allows setting of protocol and proxy name. I am using PB7 but neither 8 nor 9 seems to provide the capability we need either.

There is also a set of tools from Dart that provides this capability.
 
thanks for the information rgwith. Just was told it is possible to make with winsock32.dll aswell.

R
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top