::(?4)?'; } /** * Return the regular expression for an IPv4-mapped IPv6 address * * @access private * @return string */ private function _getIPv4MappedIPv6() { return '(?3)(?>:(?3)){5}:|(?!(?:.*[a-f\d]:){6,})(?5)?::(?>((?3)(?>:(?3)){0,4}):)?'; ...
function test_input($data) { $data = trim($data); $data = stripslashes($data); $data = htmlspecialchars($data); return $data; } ?> <form name="addcontact" method="post" action= "<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>", "add-contact.php"> Add New Caption ...