Help - Search - Members - Calendar
Full Version: hey guys
Respawn LAN Forums > Discussion > General Stuff
SnipersDream
hey,

im in a VET Multi-Media course at school in year 10. i need to make a chat box for my website at school.
if someone could post up and easy way to script one, it would help alot. huh.gif


i found these two,
java:

<APPLET code=main.class height=450 width=600
archive=gmorkirc40.jar codebase="http://javachat.krey.net">
<PARAM NAME="channel" VALUE="#channel">
<PARAM NAME="server" VALUE="javachat.krey.net">
</APPLET>

and net link:

<a href="http://www.krey.net/cgi-bin/simplechat.cgi?channel=hoogland&returnurl=http://www.krey.net">Click here to chat</a>

blink.gif THNX, SnipersDream blink.gif
priorax
Try using AJAX
Also, is this meant to be functional or just for looks as a part of an assignment?
SnipersDream
QUOTE (priorax @ Sep 2 2010, 05:50 PM) *
Try using AJAX
Also, is this meant to be functional or just for looks as a part of an assignment?



its functional, becouse then annyone who registers, can add a comment into it.
and i might have a look at AJAX
thx

and also anny other ideas?
SirSquidness
What's wrong with using the two you've found already?
SnipersDream
QUOTE (SirSquidness @ Sep 2 2010, 06:39 PM) *
What's wrong with using the two you've found already?



well first we are making from scratch, second we have to work with an IT class in new zealend. and our sites have to be identical to show our vet multi media crap we have done this year.

the group im in are lazy shits.
and the teacher wants us to "try new things". so AJEX is good, and also. anny clew how i can test these things?
SirSquidness
The easiest way is probably to have iFrame that refreshes every 5 seconds or so, and has a PHP/misc server side script that reads the lines out of a .txt file.

When someone sends something, it writes it to the top line of the file, and deletes the nth line.


Ways to complicate it:
- AJAX (ie, no page refreshes)
- SQL DB for storing messages
- Basic user authentication
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.
 Runescape