Autor Beitrag
Philipp_Reitter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 430



BeitragVerfasst: Di 15.07.08 12:35 
hi...

ich poste mit indy einer php seite ein paar parameter...
nur möchte ich jetzt das ganze mit htaccess schützen...
da wo sei ein fenster daherkommt im firefox umd man muss user und pass eingeben
wie kann ich das mit indy machen dass indy user und pass sendet...

danke!

Mfg
Flario
LexXis
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 170
Erhaltene Danke: 3



BeitragVerfasst: Di 15.07.08 14:50 
//EDIT:
Nochmal nachgesehen, hier die funktionierende Variante
ausblenden Delphi-Quelltext
1:
2:
3:
  IdHTTP1.Request.Username := 'deinusername';
  IdHTTP1.Request.Password := 'deinpasswort';
  IdHTTP1.Post('URL', Params);
Philipp_Reitter Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 430



BeitragVerfasst: Di 15.07.08 18:35 
danke!
funktioniert einwandfrei...