I have installed a free for all links page into my website. It works like a general form mail script. The problem is that people are putting html into the text input boxes and messing up my pages with large text and images.
I would like to add a command like below that when someone tries to use html, the script stops it and uses &htmlerror;
This &htmlerror; will be simple html page to say that its not allowed.
I want a script that'll detect the use of < and, or >, then is does then &htmlerror; This script is used for detecting empty boxes on submittion. I would like someone to help me edit it so it'll look for < and, or >
if ($FORM{'url'} eq "" || $FORM{'title'} eq "" || $FORM{'description'} eq ""
{
&adderror;
exit;
thank you for your help.
andy
I would like to add a command like below that when someone tries to use html, the script stops it and uses &htmlerror;
This &htmlerror; will be simple html page to say that its not allowed.
I want a script that'll detect the use of < and, or >, then is does then &htmlerror; This script is used for detecting empty boxes on submittion. I would like someone to help me edit it so it'll look for < and, or >
if ($FORM{'url'} eq "" || $FORM{'title'} eq "" || $FORM{'description'} eq ""
&adderror;
exit;
thank you for your help.
andy