15 lines
288 B
PHP
15 lines
288 B
PHP
<?php
|
|
|
|
header ("X-XSS-Protection: 0");
|
|
|
|
// Is there any input?
|
|
if( array_key_exists( "name", $_GET ) && $_GET[ 'name' ] != NULL ) {
|
|
// Get input
|
|
$name = str_replace( '<script>', '', $_GET[ 'name' ] );
|
|
|
|
// Feedback for end user
|
|
$html .= "<pre>Hello ${name}</pre>";
|
|
}
|
|
|
|
?>
|