|
-
Mar 11th, 2006, 06:34 AM
#1
Thread Starter
Lively Member
Help Passing Values to Applet.
i've set up a java applet, PIRC, on my website to allow users to log into my irc server from website. i can't figure out how to pass values from a log in page to the applet for to allow users to change their nick before they connect.
access to the applet is from http://hybrixraven.com/ghettohacker/ixl2_web/chat.htm
which is where i'd like to create a form to pass a nickname to the applet.
the param i must pass a nick to is:
HTML Code:
<param name="nick" value="Anon???">
a simple way to pass info from a form to the applet would be best. if anyone can help, or give me a tip it would be greatly appriciated
-
Mar 12th, 2006, 12:41 AM
#2
Re: Help Passing Values to Applet.
You will need a small server-side script such as PHP to accept the value posted from the form, if you the action parameter of your form points to the chat page then:
HTML Code:
<param name="nick" value="<?=$_POST['nick']?>">
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|