![]() |
Re: IdHttp und proxy
Geht nix = :glaskugel:
|
Re: IdHttp und proxy
Delphi-Quellcode:
Das funktioniert... Zeigt dir auch die IPs an
var
szTmp1,szTmp2 : String; begin IdHTTP1.Request.ProxyServer := '213.4.106.85'; IdHTTP1.Request.ProxyPort := 8080; szTmp1 := IdHTTP1.Get('http://2host.de/'); szTmp1 := Copy(szTmp1, Pos('<BIG>[B]',szTmp1)+8,40); szTmp1 := Copy(szTmp1, 1, Pos('[/B]',szTmp1)-1); IdHTTP1.Request.ProxyServer := ''; IdHTTP1.Request.ProxyPort := 0; szTmp2 := IdHTTP1.Get('http://2host.de/'); szTmp2 := Copy(szTmp2, Pos('<BIG>[B]',szTmp2)+8,40); szTmp2 := Copy(szTmp2, 1, Pos('[/B]',szTmp2)-1); memo1.lines.text := 'Deine IP ohne Proxy: ' + szTmp1 + #13#10+ 'Deine IP mit Proxy: ' + szTmp2; end; [EDIT] Hab grade festgestellt, dass ich hier nur Indy 8.xx installiert hab... Sorry [/EDIT] |
Re: IdHttp und proxy
... vielleicht sollte der OP auch erstmal ohne Proxy testen um den Fehler einzugrenzen.
|
Re: IdHttp und proxy
Zitat:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 03:41 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz