Forum Moderators: phranque
<FORM ACTION="http://www.domain.com/cgi-bin/scriptname.cgi" METHOD="POST">
Any variables you wish to pass that will be inputed by the user on that page should be HTML elements that have a valid NAME property. Additionally or alternativly you can hardcode variables in the Action line ie.
ACTION="http://www.domain.com/cgi-bin/scriptname.cgi?var1=dog&var2=cat&var=butter&var4=David%20Smith"
Note:
- format for varibles is variablename=value
- the seperator for the first variable is a? sign
- the seperator other variables is a & sign
- Spaces are represented by %20 (sometime the + sign on some systems)
- Non-alpha-numeric characters like!@#$%^&*()_+=,./<>?[ have special representations like the space character
In addition you can use METHOD="GET" which is more freindly but less secure (helps DEBUG).
This site may help
[ist.uwaterloo.ca...]
it might help to learn a bit of perl/cgi as well
Good Luck
-----
David Smith
[edited by: DaveAtIFG at 5:57 am (utc) on Dec. 31, 2003]
[edit reason] Trimmed sig [/edit]