> >Does anyone have examples or instructions on how to use the post command in >MetaCard that they'd be willing to share? I'm having trouble figuring out >how to translate a form into a successful post. > >The syntax is > >post <expression> to <url> > >I'm wondering what goes in the expression and what in the url. > >If I have a simple form like this: > ><FORM ACTION="FMPro" METHOD="post"> ><INPUT TYPE="hidden" NAME="-DB" VALUE="pages"> ><INPUT TYPE="hidden" NAME="-Lay" VALUE="main"> ><INPUT TYPE="hidden" NAME="-format" VALUE="search_results.htm"> ><INPUT TYPE="hidden" NAME=marked VALUE=Yes> ><INPUT TYPE="submit" NAME="-Find" VALUE="Show Marked"> ></FORM> > >would that translate to something like: > >put "http://www.myserver.com/FMPro?-DB=pages&" into theURL >put "-Lay=main&-format=search_results.htm&marked=Yes" after theURL >post "-Find" to url theURL >put it --this is what comes back from the server More something like: put "http://www.myserver.com/FMPro into tUrl put "-Lay=main&-format=search_results.htm&marked=Yes" into tPost post tPost to url tUrl Remember that with POST you ask a server to send the data (tPost) to a cgi script (FMPro) to process it so you need to know the name (path to) of the script and what kind of data it accepts for processing. Hope this helps. > >or something else? > >Thanks > >geoff > > >. Regards, Andu _______________________ [EMAIL PROTECTED]
