Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function filter_tags($string){
- return str_replace(array("<", ">"), array("<", ">"), $string);
- }
- $query = "INSERT INTO comments (name, email, quote, hinzugefuegt, ip_adress) VALUES ('" . filter_tags($_POST['vName']) . "', '" . filter_tags($_POST['eMail']) . "', '" . filter_tags($_POST['q17']) . "', NOW(), '" . $_SERVER['REMOTE_ADDR'] . "')";
Add Comment
Please, Sign In to add comment