Skip to content

Commit 4bd8dba

Browse files
committed
xss Code && Fixed
1 parent 374dec8 commit 4bd8dba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xss.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
require 'function.php';
4141
if( array_key_exists( 'show', $_POST ) && $_POST[ 'show' ] != NULL ){
4242
$first_name=check($_POST['first_name']);
43-
echo '<pre>hello'.$first_name."</pre>";
43+
echo "<pre>hello".$first_name."</pre>";
4444
}
4545
?>
4646
//======>HTML_code

0 commit comments

Comments
 (0)