Simple Chat / Shoutbox Script For Anonymous Users

Started on the old forum in August 2007 · view the original in the archive · old links redirect here

9 replies · 1,281 views · started 19 years ago · 1 min read

3 participants
zem #1

You need three files: messages.txt (chmod 755) button.gif index.php (chmod 755)

source of index.php: CODE

<?php header("Content-type: text/html; charset=utf-8"); $name = $_POST['name']; $message = $_POST['message']; if ($name !='') { if ($message !='') { $file = fopen('messages.txt', 'r+'); $ind=file_get_contents ('messages.txt'); $mess1='**['.$_POST['name'].']** '.stripslashes($message).' '.$ind; fputs($file, $mess1); fclose($file); } echo ' <html> <head> <meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=utf-8">'; echo '<title>'.$_POST['name'].'@mobile.universumi.org</title>'; echo '</head> <body bgcolor="#FFFF99">'; echo '<form action="index.php" method="post"> <input type="hidden" name="name" value="'.$_POST['name'].'"> <input type="text" name="message" maxlength="256"> <input type="submit" value="Send / Refresh"></form>'; echo "\n"; $lines=file('messages.txt'); $num = count($lines); for ($i=0; $i<15; $i++) { echo $lines[$i]."\n"; } echo '</body></html>';} else { echo ' <html> <head> <meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=utf-8">'; echo "<title>mobile.universumi.org</title>"; echo '</head> <body bgcolor="#FFFF99"> '; echo '<form action="index.php" method="post"> <input type="text" name="name" value="Username" maxlength="16"> <input type="image" src="http://www.universumi.org/ngeo/button.gif" alt="Kirjaudu" /> </form>'; echo '</body></html>'; } ?>
Attachments: chautbox.zip
wbafc #3

am i ryt by saying you have a script alredi but want to add the feature shoutbox wer ppl can shout anonymously?

OMG HE IS AT IT AGAIN LOL THINKS HE KNOWS EVERYTHING PMPL

wbafc #5

DONNA FUK OF YA TRAMP LUK AT YA YU LUK LIKE YA LIVIN ON THE STREETS

PMPL GROW UP CHILD WHO THE HELL DO U THINK U R AND U DO THINK YOUR A SOMEBODY BUT YOUR NOT YOUR JUST A JUMPED UP LITTLE 16 YEAR OLD PRICK WHO LIKES 2 TRY AND FUCK UP SITES BUT OH DEAR U KEEP GETING COURT OUT WANKA HA

crazybrumi Super moderator Principal · 1,064 posts #6

LOL I WILL BET YU 2MILLION POUNDS HU EVER TOLD U THAT I TRY HAKIN YA SITE COS THERE WRONG I ENT HACKD NY OF YA SITES EVER, AND OH IF I DID YU WOULD NEED TO START ALL OVER AGEN THE HOLE SITE WOULD GET DELETED. OH AND BY THE WAY RUSS AND PAULINE ARE THE ONES THAT NOT FUK ALL ABOUT SITES, U CAN ASK NYONE ON WAP THAT

Want something coded email me at sales@webnwaphost.com for a prices.

http://flagcounter.com/more/W80q

amylee Principal · 1,092 posts #7

why argue behind fake names? plus a dictionary would be useful before hitting the add reply button

crazybrumi Super moderator Principal · 1,064 posts #8

amy it was all sound before immortal got her and her hubb yon av never had an argument on this site apart from this once and wudnt want to as there no point over a pc, people like this jus kum on to seek for argument,s and she has a history of it on her sites, a even told GumSlone to delete my post in here with inappropriate language, an i u thnk about itshe cald me a child she actuli is on the same level as me for carryin on u would expect and adult to bk of and not start the argument. giv us a message if ya want amy

Want something coded email me at sales@webnwaphost.com for a prices.

http://flagcounter.com/more/W80q

immortalempire Developer · 219 posts #9

amy it was all sound before immortal got her and her hubb yon av never had an argument on this site apart from this once and wudnt want to as there no point over a pc, people like this jus kum on to seek for argument,s and she has a history of it on her sites, a even told GumSlone to delete my post in here with inappropriate language, an i u thnk about itshe cald me a child she actuli is on the same level as me for carryin on u would expect and adult to bk of and not start the argument. giv us a message if ya want amy

brumi i dont claim to be a coder unlike yaself i can edit sites etc but i cannot build a site from scratch all my own coding , but then again can you

bomb #10

why don't you lot just pretend the other ones don't exist, it'd make this site more enjoyable for the rest of us

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close