Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi Fehler beim Benutzen von idhttp.post (https://www.delphipraxis.net/73245-fehler-beim-benutzen-von-idhttp-post.html)

Lestat 14. Jul 2006 12:02


Fehler beim Benutzen von idhttp.post
 
Hey Leute,

ich habe da mal eine Frage(Was auch sonst :lol: )!

Ich möchte gerne ein php-Skript auf einem Server ausführen.
Dieses liegt in einem Verzeichnis, das durch htaccess geschützt ist.

Um sich zu connecten muss ich ja folgendes eingeben:

Delphi-Quellcode:
idhttp.Request.BasicAuthentication := True;
idhttp.Request.Username := username;
idhttp.Request.Password := password;
Nachdem ich nun die zum Einloggen relevanten Daten gesetzt habe muss ich ja nur noch das post aufrufen:

Delphi-Quellcode:
idhttp.Post('http://blabla/ordner/test.php',parameter, resultstream);
Soweit so gut, nun bekomme ich aber immer eine "EIdSocketError" Exception mit dem Fehlertext
"Socket Error # 11004"

Was mache ich falsch oder woran kann es liegen, habe jetzt schon längere Zeit gegoogelt, aber nicht
wirklich etwas hilfreiches gefunden.

Dann Danke schon mal ;)

Sebastian

Zacherl 14. Jul 2006 12:08

Re: Fehler beim Benutzen von idhttp.post
 
Zitat:

WSANO_DATA 11004 (Valid name, no data record of requested type) The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for. The usual example for this is a host name-to-address translation attempt (using gethostbyname or WSAAsyncGetHostByName) which uses the DNS (Domain Name Server). An MX record is returned but no A record-indicating the host itself exists, but is not directly reachable.
Hilft dir das?

Florian

Lestat 14. Jul 2006 12:13

Re: Fehler beim Benutzen von idhttp.post
 
Danke für die schnelle Antwort! :)

Schon jetzt verstehe ich den Fehler ;)

Aber wie kann ich ihn beheben?

Weißt du das auch? :)


Alle Zeitangaben in WEZ +1. Es ist jetzt 12:26 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz