It doesn't seem this was a common problem as it hasn't been found/fixed or posted about yet... what was happening was everytime I submitted a kill that had a single quote ('), it would write to all the applicable tables except the kill table. Couple debug lines and I found the problem in parser.php:
$parsedMail = $_POST['textarea'];
This appears before building the $sql var for the kill table, which includes $parsedMail... because the mail contains single quotes, it was turning the query into garbage as far as the server was concerned. Changed the line this:
$parsedMail = addslashes($_POST['textarea']);
Simple fix, I'm sure it's the host I'm using that is the cause of this seemingly uncommon problem, but I would assume it's a modification that you [geoffw22] would like to make to the source.
Cheers, and thanks for the continued work and support on this board.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It doesn't seem this was a common problem as it hasn't been found/fixed or posted about yet... what was happening was everytime I submitted a kill that had a single quote ('), it would write to all the applicable tables except the kill table. Couple debug lines and I found the problem in parser.php:
$parsedMail = $_POST['textarea'];
This appears before building the $sql var for the kill table, which includes $parsedMail... because the mail contains single quotes, it was turning the query into garbage as far as the server was concerned. Changed the line this:
$parsedMail = addslashes($_POST['textarea']);
Simple fix, I'm sure it's the host I'm using that is the cause of this seemingly uncommon problem, but I would assume it's a modification that you [geoffw22] would like to make to the source.
Cheers, and thanks for the continued work and support on this board.
Thanks for the code mod/fix, that has solved a problem I've encountered a few times. I just didn't know enough about php to solve it :)