Equinox Online Help - Language Reference - A to Z
WebPostData |
|
---|---|
Applies to | |
Syntax | WebPostData memo |
Action | [Statement] Returns the raw form post data to a variable which must be an Equinox memo. HTML form parameters can still be retrieved with WebParameter, provided the entity encoding has not been changed from the default. |
Scope | Used in method language on an ESP page. |
Notes | Retrieving the entity body of a form post using WebPostData may require extensive parsing to extract the content. |
Category | Web Server |
See Also | WebBaseDirectory, WebCurrentPage, WebGetCookies, WebGetHeader, WebOutput, WebOutputFile, WebParameter, WebRedirect, WebSetCookie, WebSetHeader |
Example | This example demonstrates how data posted in an HTML form can be collected and manipulated. This is an extract from an html page using a form to collect input: <form action="/forum/save_upload.esp" ENCTYPE="multipart/form-data" method="post"^gt;<table></form><tr><table><td>Upload the following file:</td></tr> This second esp page assigns the posted data to a memo called mPostData that can then be manipulated in the normal manner. This is an extract from the file SaveUpload.esp memo mPostData |