Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> hey guys, need help with making a chat box
SnipersDream
post Sep 2 2010, 05:25 PM
Post #1
Player

Posts: 17
Joined: 28-May 10
Next event:



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


--------------------

Profile CardPM
Go to the top of the page
+Quote Post
priorax
post Sep 2 2010, 05:50 PM
Post #2
TF2 Comp Guy

Posts: 490
Joined: 23-August 09
From: Niddrie - Melb
Next event:



Try using AJAX
Also, is this meant to be functional or just for looks as a part of an assignment?
Profile CardPM
Go to the top of the page
+Quote Post
SnipersDream
post Sep 2 2010, 06:30 PM
Post #3
Player

Posts: 17
Joined: 28-May 10
Next event:



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?


--------------------

Profile CardPM
Go to the top of the page
+Quote Post
SirSquidness
post Sep 2 2010, 06:39 PM
Post #4
^_^

Posts: 1,153
Joined: 5-October 08
From: Bendigo!
Next event:



What's wrong with using the two you've found already?


--------------------
TRON MAN SAYS:
Using proper spelling and grammar makes you look smart. USE THEM! =D

Important information regarding your abuse of the English language
Profile CardPM
Go to the top of the page
+Quote Post
SnipersDream
post Sep 2 2010, 06:46 PM
Post #5
Player

Posts: 17
Joined: 28-May 10
Next event:



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?


--------------------

Profile CardPM
Go to the top of the page
+Quote Post
SirSquidness
post Sep 2 2010, 06:55 PM
Post #6
^_^

Posts: 1,153
Joined: 5-October 08
From: Bendigo!
Next event:



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


--------------------
TRON MAN SAYS:
Using proper spelling and grammar makes you look smart. USE THEM! =D

Important information regarding your abuse of the English language
Profile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 18th June 2025 - 08:51 AM