debog sql
This commit is contained in:
parent
36f2ab83c8
commit
b3a28ba685
13
src/act.php
13
src/act.php
|
@ -140,7 +140,18 @@ switch($_POST['act']){
|
|||
|
||||
$botUrl = $_POST['botURL'];
|
||||
}
|
||||
|
||||
|
||||
echo " INSERT INTO bots_modifs( name, game, url, description, date_modification, validate_secret, author_email) VALUES (
|
||||
'".mysqli_real_escape_string($lnMysql,htmlentities($_POST['botName']))."',
|
||||
'".mysqli_real_escape_string($lnMysql,$_POST['botGame'])."',
|
||||
'".mysqli_real_escape_string($lnMysql,$botUrl)."',
|
||||
'".mysqli_real_escape_string($lnMysql,
|
||||
preg_replace('#^(http|https|mailto|ftp)://(([a-z0-9\/\.\?-_=\#@:~])*)#i','<a href="$1://$2">$1://$2</a>'
|
||||
,nl2br(htmlentities($_POST['botDescription'])))
|
||||
)."',
|
||||
NOW(),
|
||||
'".$secret."',
|
||||
'".mysqli_real_escape_string($lnMysql,$_POST['email'])."'";
|
||||
|
||||
mysqli_query($lnMysql,
|
||||
" INSERT INTO bots_modifs( name, game, url, description, date_modification, validate_secret, author_email) VALUES (
|
||||
|
|
Loading…
Reference in New Issue
Block a user