cyform method
Creates a HTML form element with encrypted session values.
Method Parameters
| Argument |
Data Type |
Description |
| offset |
Number |
The spacing offset used for HTML code alignment. |
| name |
String |
The name / id of the form element. |
| action |
String |
The form method: get / post. |
| target |
String |
The target frame for form submission (i.e. _top, parent etc...) |
| autocomplete |
Boolean |
Autocomplete form |
Return value
| Data Type |
Description |
| String |
The formatted HTML form |
SAMPLE CODE:
============
echo (cyform (6, // space offset
"frmlogin", // form name
"credentials.php", // destination page
"post", // submit method
"_top", // target frame
""));
SAMPLE OUTPUT:
==============