Retrieving Data Submitted with method = "Get"

Emmanuel. M. Decarie emm at scriptdigital.com
Tue Dec 18 06:49:21 PST 2001


À (At) 22:05 -0500 17/12/01, Mark Meisel écrivait (wrote) :
>I know it is postargs for "post".
>
>Simple question - How do you retrieve data from a form submitted 
>using method = "get"?

«getting the page table address which store a bunch of info
local (pta = html.getPageTableAddress ());

«parse pta^.searchArgs and put it in a table in the form key = value
new (tableType, @args);
webserver.parseArgs (pta^.searchArgs, @args);

«copy the page table at temp.pageTable so you can inspect it
new (tableType, @temp.pageTable);
table.copycontents (@pta^, @temp.pageTable)

HTH
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Emmanuel Décarie - Consultant
   Programmation pour le Web - Programming for the Web
   UserLand Frontier  - Perl - JavaScript - AppleScript - HTML - XML
   http://www.scriptdigital.com 

---> The Frontier Newbie Toolbox:
   <http://www.scriptdigital.com/fnt/frontierNewbieToolbox.html>




More information about the Frontier-Users mailing list