Board index » cppbuilder » Example With WebPostData
caleb
![]() CBuilder Developer |
Example With WebPostData2005-10-17 10:53:52 PM cppbuilder81 Novice User Question regards "How to post data using TCppWebBrowser in C++Builder (bdn.borland.com/article/0,1410,27519,0.html)". Can someone provide code showing how the function is called. Here is something I am trying to figure out: How do I value: sURL sPostData Given the form on this page (www.gemdev.com/auctions/login.php) presently I have utils->WebPostData(bro,"gemdev.com/auctions/login.php", "username=bea&password=[****]&login=Log in"); Thanks ... This is the form from that page: <form method="post" action="login.php?sid=8544d83f23a3049e19aa98d495a503f7"> <table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline"> <tr> <td class="catHead" height="28"><a name="login"></a><span class="cattitle">Log in</span></td> </tr> <tr> <td class="row1" align="center" valign="middle" height="28"><span class="gensmall">Username: <input class="post" type="text" name="username" size="10" /> Password: <input class="post" type="password" name="password" size="10" maxlength="32" /> Log me on automatically each visit <input class="text" type="checkbox" name="autologin" /> <input type="submit" class="mainoption" name="login" value="Log in" /> </form> |