A PHP that thinks it is very safe to prevent SQL injection, please crack it
Release: 2016-07-25 08:50:55
Original
1066 people have browsed it
Haha, please crack it
- function gejj($str)
- {
- $farr = array(
- "/\s+/",
- "/<(\/?)(script|i?frame|style|html|body|title |link|meta|object|\?|\%)([^>]*?)>/isU",
- "/(<[^>]*)on[a-zA-Z]+ s*=([^>]*>)/isU",
- );
- $str = preg_replace($farr,"",$str);
- return addslashes($str);
- }
Copy code
|
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
-
2024-08-21 07:33:02
-
2024-08-21 07:32:46
-
2024-08-21 07:32:32
-
2024-08-21 07:32:05
-
2024-08-21 07:31:32
-
2024-08-21 07:01:32
-
2024-08-21 07:00:32
-
2024-08-21 06:59:38
-
2024-08-21 06:56:08
-
2024-08-21 06:56:02