Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
Sanitize a string
SUBMITTED BY:
henry1874w
DATE:
June 21, 2017, 11:43 p.m.
FORMAT:
Text only
SIZE:
165 Bytes
Raw
Download
Tweet
HITS:
224
Go to comments
Report
<!DOCTYPE html>
<html>
<body>
<?php
$str = "<h1>Hello World!</h1>";
$newstr = filter_var($str, FILTER_SANITIZE_STRING);
echo $newstr;
?>
</body>
</html>
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus