Forum Moderators: coopster
<cfset user = form.userid>
<cfset password = form.passwd>
<cfset LoginID = "#USER#@website.com">
<form method="POST" action="http://website.com/login.cgi" name="loginpage" >
<cfoutput> <input type="hidden" name="page" value="login">
<input type="hidden" name="userid" value="#LoginID#" size="30" maxlength="30">
<input type="hidden" name="passwd" value="#password#" size="30" maxlength="30">
</cfoutput>
</form>
Since I don't do any cf I asked a coworker who does. It would seem that you are setting some vars and then putting their value into form element values. I'm not totally sure where they are coming from though.
Some links that might help you out.
Language Reference [php.net]
echo [php.net]
Predefined Variables [php.net] - look for $_POST which is the superglobal associative array that stores all of the names/values of all posted info.
Here ya go!
php.net has a documentation section which is really good. Just search there for what you want (ie "forms") and you should get something useful back =)