Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi Indy - Daten an PHP Form senden - Fehler (https://www.delphipraxis.net/25381-indy-daten-php-form-senden-fehler.html)

dj-pitti 5. Jul 2004 18:35


Indy - Daten an PHP Form senden - Fehler
 
Hali Hallo,

folgendes Problem:

Ich will mithilfe meines Proggis ein von Nutzer bestimmte Nachricht an eine PHP Seite senden und mit dieser auf den Server hochladen. Soweit funktioniert ja eigentlich alles, aber leider nur in Netzwerk. Sobald ich die URL als http://www....... angebe dann sagt mir Delphi http/1.1 501 Not Implemented. Als IP angegeben gehts supi.

Mein Code:

Der nicht will...
Delphi-Quellcode:
...
IdHTTP1.Post('http://www.xxx.com/mailer/script.php', PostVars, StringStream);
...

Und mit dem Gehts:

Delphi-Quellcode:
....
IdHTTP1.Post('http://192.168.0.xxx/mailer/script.php', PostVars, StringStream);
...

Ich hoffe man kann mir helfen!?

Mfg und schon mal Danke, sagt Silvio.


Alle Zeitangaben in WEZ +1. Es ist jetzt 16:07 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