hello all i have a feature for your shoutbox whit this little modification would block
<html
<script
<?php
also nobody kann inject code in your shoutbox, i hope you know what i mean :)
lets start.
open shoutbox.php or shoutin.php and find
thats all
PS: sorry for bad english :huh:
<html
<script
<?php
also nobody kann inject code in your shoutbox, i hope you know what i mean :)
lets start.
open shoutbox.php or shoutin.php and find
//INSERT MESSAGE
if (!empty($_POST['message']) && $CURUSER) {
$_POST['message'] = sqlesc($_POST['message']);set bevor this $text=utf8_decode(trim($_POST['message']));
// blocking some code links
if ( ereg('\<', $text))
$text='';
for blocking code an this when you will blocking code and <a href=... links
$text=utf8_decode(trim($_POST["message"]));
// blocking www links and code
if ( ereg("\<(a|A)\ (href|HREF|Href|HrEf|hReF|hrEF|HRef|HREf|hreF)", $text))
$text='';
else
if ( ereg("\<", $text))
$text='';thats all
PS: sorry for bad english :huh: