🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #797

Re: Indy version, Post method

#797
From: Remy Lebeau (TeamB)
Date: Tue, 31 Jan 2006 18:07
42 lines
2119 bytes
"Denville Longhurst" <Denville@metco.co.uk> wrote in message
news:43df9c82@newsgroups.borland.com...

> I want to mimic a simple form (three or four fields) and post
> the data to a web site

How you do that exactly depends on how the PHP script is set up.  Please
show the HTML for the form so we can see what kind of values the server is
expecting to be sent.

> I have BCB6 SP2.  I guess I need to use TldHTTP.

Yes.

> In my help, it doesn't even document a Post (or a Get) method

TIdHTTP is a third-party component, not a Borland one.  You can download the
documentation from http://www.indyproject.org.

> but I know they are there.

Yes, there are - several different flavors, in fact.

> How do I find what version of Indy I have in my BCB setup.

Right-click on any Indy component in the Form Designer.

> If I need to upgrade, how do I do that (the Indy site sends me round in
circles) ?

Did you read the Indy Knowledge Base yet?  There are install instructions in
it.

> How to I put the post data (eg Name=Denville, Address=Leeds)
> into the Post command and get the return result to a String or String List
?

Again, it depends on what the HTML looks like.


Gambit
Technical Details
Message-ID: <43dfa6dd$5@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <43df9c82@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,e22aba21c3053d6a
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <43df9c82@newsgroups.borland.com>
Subject: Re: Indy version, Post method
Date: Tue, 31 Jan 2006 10:07:39 -0800
Lines: 44
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <43dfa6dd$5@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1138730717 68.69.17.41 (31 Jan 2006 10:05:17 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail