Hi, im trying to integrate pJIRC java applet into my website. but i want the users to be able to login using a form so they can type their desired nick before connecting. Im not good with PHP or java. this is the form code: (chat.html) [code]<form method="post" onsubmit="return openchat(this)" action=""> <table> <tr> <td class="label">Nickname:</td> <td><input id="nick" type="text" name="nick" size="12" value="Guest???" /></td> </tr> <tr> <td class="label">Applet Style:</td> <td> <select id="applettype" size="1" name="style"> <option value="chat/SimpleApplet.php">Simple</option> <option value="chat/NormalApplet.php" selected="selected">Normal</option> <option value="chat/HeavyApplet.php">Heavy</option> <option value="chat/AppletWithJS.php">JS Support</option> </select> </td> </tr> </table> <p><input id="submit" type="submit" value="Chat!" name="B1" /></p> </form>[/code] And this is the pJIRC applet page: (chat/SimpleApplet.php) [code]<html> <head> <title>BlahBla</title> </head> <body> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"> <tr height="13"> <td colspan="2" rowspan="2"> <applet code="IRCApplet.class" archive="irc.jar,pixx.jar" width="100%" height="100%"> <param name="CABINETS" value=""> <param name="nick" value="$nick"> <param name="alternatenick" value="Guest???"> <param name="name" value="www.808ers.com"> <param name="host" value="mesra.kl.my.dal.net"> <param name="gui" value="pixx"> <param name="command1" value="join #GoHawaii"> <param name="pixx:helppage" value="http://www.pjirc.com/help.php"> </applet> </td> <td width="9"> <img width="9" height="100%" border="0" src="shadows/shadow.ne.gif"> </td> </tr> <tr> <td width="9"> <img width="9" height="100%" border="0" src="shadows/shadow.e.gif"> </td> </tr> <tr height="9"> <td width="13"><img width="13" height="9" border="0" src="shadows/shadow.sw.gif"></td> <td><img width="100%" height="9" border="0" src="shadows/shadow.s.gif"></td> <td><img width="9" height="9" border="0" src="shadows/shadow.se.gif"></td> </tr> </table> </body> </html> [/code] I'd appreciate any help at all