Article View: borland.public.cppbuilder.internet.web
Article #1597Re: Post
From: hans galema
Date: Wed, 27 Oct 2004 16:59
Date: Wed, 27 Oct 2004 16:59
66 lines
3074 bytes
3074 bytes
Francisco Navarro wrote:
> I just call
> WebPostData(MtWebControl,http://www.iberware.com/enercut/parametros.php,
> "action=LogMeIn&usuario=paco123&password=paco123");
Think that "action=LogMeIn" is not done in this way.
> I have tried without action=LogMeIn too, but nothing
> You can try it because the page is only for this.
Tried it with the following html page.
<html>
<body>
<form method="post" action
="http://www.iberware.com/enercut/parametros.php">
<input name="action" value="LogMeIn">
<br>
<input name="usuario" value="paco">
<br>
<input name="password" value="123456">
<input type="Submit" value="Submit form">
</form>
<br>
<form method="post" action
="http://www.iberware.com/enercut/parametros.php">
<input name="usuario" value="paco">
<br>
<input name="password" value="123456">
<input type="Submit" value="Submit form">
</form>
<br>
<form method="post" action
="http://www.iberware.com/enercut/parametros.php?LogMeIn">
<input name="usuario" value="paco">
<br>
<input name="password" value="123456">
<input type="Submit" value="Submit form">
</form>
<br>
<form method="post" action
="http://www.iberware.com/enercut/parametros.php/LogMeIn">
<input name="usuario" value="paco">
<br>
<input name="password" value="123456">
<input type="Submit" value="Submit form">
</form>
<br>
<form method="get" action
="http://www.iberware.com/enercut/parametros.php">
<input name="usuario" value="paco">
<br>
<input name="password" value="123456">
<input type="Submit" value="Submit form">
</form>
</body>
</html>
The page demands the post method. That's for sure.
I did not try with Adam's code.
Why did you not react on my suggestios
for the "View comments" link in the article ?
HAns.
Technical Details
Message-ID:
<417fd3e2$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<417e4d44@newsgroups.borland.com> <417e519d@newsgroups.borland.com> <417e6e3e@newsgroups.borland.com> <417e7974$1@newsgroups.borland.com> <417f7c6c$1@newsgroups.borland.com> <417f907e$1@newsgroups.borland.com> <417fc06e@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,77418a7a384f2c1c X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 27 Oct 2004 18:59:36 +0200 From: hans galema <notused@notused.nl> User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.web Subject: Re: Post References: <417e4d44@newsgroups.borland.com> <417e519d@newsgroups.borland.com> <417e6e3e@newsgroups.borland.com> <417e7974$1@newsgroups.borland.com> <417f7c6c$1@newsgroups.borland.com> <417f907e$1@newsgroups.borland.com> <417fc06e@newsgroups.borland.com> In-Reply-To: <417fc06e@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 129.125.201.248 Message-ID: <417fd3e2$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1098896354 129.125.201.248 (27 Oct 2004 09:59:14 -0700) Lines: 66 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail