daily pastebin goal
1%
SHARE
TWEET

Untitled

a guest Dec 8th, 2017 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3.  
  4. function filter_tags($string){
  5.     return str_replace(array("<", ">"), array("&lt;", "&gt;"), $string);
  6. }
  7.  
  8. $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'] . "')";
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top