abyse Posted April 28, 2006 Share Posted April 28, 2006 Hy i need a little help for a simple login page (form)here is the code : chat.php<FORM name="login" method="post" action="chat_f.php" onSubmit="return validate(this);"> <DIV align="center"> <TABLE width="60%" BORDER="0" CELLSPACING="2" CELLPADDING="2"> <TR> <TD align="left"> <P ALIGN=right><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><strong>Nick Name: </strong></font> </TD> <TD align="left" valign="top"><INPUT NAME="username" TYPE="text" VALUE="Guest" SIZE="15"></TD> </TR> <TR> <TD align="left"> <P ALIGN=right><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><strong>IRC Server: </strong></font> <TD align="left" valign="top"><SELECT NAME="server" TYPE="text" VALUE="Bucharest.Ro.Eu.Undernet.Org" SIZE="1"> <option selected="selected">Bucharest.Ro.Eu.Undernet.Org</option> <option>Diemen.Nl.Eu.Undernet.Org</option> <option>Mesa.Az.Us.Undernet.Org</option> </SELECT></TD></TR> <TR> <TD align="left"> <P ALIGN=right><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><strong>FullScreen: </strong></font> <TD align="left" valign="top"><select name=screen id=screen onchange="changeAction();"> <option value="chat_f.php">Yes</option> <option value="chat_n.php">No</option> </select> </TD> </TR> </TABLE> <INPUT NAME="submit" TYPE="submit" VALUE="Chat"> </DIV> </FORM>---------------------------------------------------------------------------------chat_f.php :<param name="nick" value="<?=$username?>"> <param name="host" value="<?=$server?>">---------------------------------------------------------------------------------I dont anderstand why do not send the data to chat_f.php :( maybe I need to change the chmod ? oe what ? Link to comment https://forums.phpfreaks.com/topic/8624-php-login-page-for-java-chat-applet/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.