Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Dec : Re: Help on appropriate technology

www.cryer.info
Managed Newsgroup Archive

Re: Help on appropriate technology

Subject:Re: Help on appropriate technology
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Wed, 13 Dec 2006 20:00:00

"Richard Teller" <r.teller@e-tabs.com> wrote in message
news:458054cb$1@newsgroups.borland.com...

> Can I "go" to a (say) html/php page, fill it in with values, submit it
> and read the resulting HTML all invisible to the user, using code
> rather than user input?

Yes.  Even better, without going to the form's page at all (unless you want
to parse the form beforehand, that is).  You can submit the desired values
directly to the target script.

> If so, do you have a pointer to an example or two?

First and foremost, what you submit depends on what the webserver actually
requires, based on the HTML of the form you are submitted.

A simple, using Indy (http://www.indyproject.org',
SubmittedValues);
        finally
            SubmittedValues.Free;
        end;
        // use HTML as needed ...
    end;

There are other ways to submit more advanced forms, such as
"multipart/form-data" forms for uploading files.


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive