i wanted to know more about sanitizing URL and form data depending on what type it is. for instance i have create new topic well i would want that to be different because any BB code won't be parsed. the actual body can have BB code but it won't have any HTML or it would be limited.
also, this system is basically a system of includes so therefore the forum root index is the front controller and checks the URL or post variable to see what's there and then just includes the correct functions.
the only thing that i'm doing for that is this
Code: Select all
if (!get_magic_quotes_gpc())
{
array_add_slashes($_GET);
array_add_slashes($_POST);
array_add_slashes($_COOKIE);
}thanx for your replies guys, it's a big help