View Full Version : Shoutbox.
Verrou
09-01-2008, 02:27 AM
Been working on it for a few days, it's real noob, but meh.
Shout Box! (http://hopit.org/Ll1)
Rate etc.
Verrou.
Boonzeet
09-01-2008, 01:02 PM
0/10
NAHHH
8/10 is nice.
Gimme tha script so I can er rate it with more... knowledge >_>
lol nah
Assassinator
09-01-2008, 04:00 PM
Its abit unclear were to type your name and message, put a border round them or something and maybe a background on the shouts?
Andys
09-01-2008, 04:09 PM
No it's not?
You must be stupid to not know where to type it...
Anyway, pretty nice. :)
MrCraig
09-01-2008, 04:09 PM
Ok
ROFLMAOOO!!!!
Why is IP stored as a hidden field. Oo.
I know, if your using PHP you might as well use $ip = $_SERVER["REMOTE_ADDR"];
MrCraig
09-01-2008, 07:30 PM
Well, he must of used php to get ip anyways, so shoving it in a hidden field is a bit pointless.
Not like the ip is going to be diff just because they submit form.
LegendOfNoob
09-01-2008, 08:24 PM
name resets after each message
Verrou
10-01-2008, 01:29 AM
The IP of every shouter is stored in the DB so people abusing or w/e can be banned I suppose? And yer the name resets after every shout but meh like I said I'm noob at this stuff.
Also I want to try make it AJAX but have no idea where to start -.-
All +rep returned.
Ver.
loserWILL
10-01-2008, 01:34 AM
That looks good. Nice job with it.
Verrou
10-01-2008, 02:00 AM
Thanks :)
MrCraig
10-01-2008, 04:18 PM
The IP of every shouter is stored in the DB so people abusing or w/e can be banned I suppose? And yer the name resets after every shout but meh like I said I'm noob at this stuff.
Also I want to try make it AJAX but have no idea where to start -.-
All +rep returned.
Ver.
Yeah, im not complaining about that,
But the IP should be collected in the SSI when the form is submitted, not when loaded and shoved in a hidden field.
Verrou
10-01-2008, 09:22 PM
Pishaw lol sif I'd know how to do that!
MountainDew
10-01-2008, 10:40 PM
Looks pretty good, I tested some of the basic security of it, seems pretty secure ;)
Instead of pulling the IP out of the hidden field:
$ip = $_POST["ipblabla"];
do
$ip = $_SERVER["REMOTE_ADDR"];
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.