Ok this minor modification will strip any excess slashes produced by crappy autosubmitters, or by magic quotes, before submitting them.
open funcs.php.
add:
PHP Code:
function stripallslashes($string)
{
while(stripslashes($string) != $string)
$string = stripslashes($string);
return $string;
}
above:
find:
PHP Code:
$titles = $_POST['title'];
$urls = $_POST['url'];
$types = $_POST['type'];
$sname = $_POST['sname'];
$surl = $_POST['surl'];
$email = $_POST['email'];
replace with:
PHP Code:
$titles = array_map("stripallslashes", $_POST['title']);
$urls = array_map("stripallslashes", $_POST['url']);
$types = array_map("stripallslashes", $_POST['type']);
$sname = stripallslashes($_POST['sname']);
$surl = stripallslashes($_POST['surl']);
$email = stripallslashes($_POST['email']);
by ddlshack