Autor Beitrag
rabby
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 61

gentoo

BeitragVerfasst: Mo 12.07.04 16:31 
hallo welt !
bisher habe ich immer mit TIDHTTP einer seite mit post lange parameter übergeben,
dann gedownloadet und lokal angezeigt.
doch nun möchte ich, dass diese seite online zu betrachten ist.
also brauche ich eine methode, mit der ich mit dem internet explorer via POST methode nen parameter übergeben kann.

danke für Eure hilfe
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Sa 17.07.04 19:49 
Die Frage ist nicht ganz eindeutig, aber wenn ich dich richtig versteh, arbeitet dein Programm als HTTP-Server und du willst vom IE aus deine Seite abrufen und dabei einen POST-Parameter übergeben?

Naja, der HTTP-Header für POST-Paramter sieht so aus, hoffe es hilft dir bei deinem Problem.

ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
POST http://deinserverhost/pfadzumscript/script.ext?GETparams=value
Host: AngefragterHost
Andere: Parameter
Content-Length: AnzahlDerZeichenImPOSTString
{Leerzeile}
?POSTparam1=POSTvalue1&POSTparam2=POSTvalue2&...
{Leerzeile}


Ansonsten Frage nochmal etwas anders stellen.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: So 18.07.04 15:17 
oder willst du wissen, wie man im IE Post parameter angibt und damit dann eine Seite aufruft ?

_________________
In the beginning was the word.
And the word was content-type: text/plain.
rabby Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 61

gentoo

BeitragVerfasst: So 18.07.04 17:11 
genau, sowas bräucht ich viel mehr...
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: So 18.07.04 17:50 
Dann sag das doch ;-)

ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
<HTML>
  <HEAD>
    <TITLE>Hallo Welt</TITLE>
  </HEAD>
  <BODY>
    <FORM action="deineseite.php?getparameter=value" method="POST">
      <INPUT name="POSTParameter" type="text">
      <INPUT type="submit">
    </FORM>
  </BODY>
</HTML>

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
rabby Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 61

gentoo

BeitragVerfasst: So 18.07.04 21:12 
ne, das meinte ich nun nicht...
sondern, wie man das selbe direkt an ein formular übermittelt ohne zuerst ne seite auszuführen, wo man das ausfüllen muss.
also ne alternative zu www.test.de?param=var
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Mo 19.07.04 12:46 
nein sowas mit post geht nich !
bei post musst du den umweg über ein HTML formular gehen !

_________________
In the beginning was the word.
And the word was content-type: text/plain.
maxk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1696
Erhaltene Danke: 1

Win XP, Debian Lenny
Delphi 6 Personal
BeitragVerfasst: Mi 21.07.04 11:08 
Du könntest den IE aber mit nem Javascript veranlassen, dass Form automatisch abzuschicken.

_________________
Ein Computer wird das tun, was Du programmierst - nicht das, was Du willst.