Ver Mensaje Individual
  #6 (permalink)  
Antiguo 04/11/2009, 15:56
poos
 
Fecha de Ingreso: septiembre-2007
Mensajes: 59
Antigüedad: 16 años, 7 meses
Puntos: 3
Respuesta: Warning: Cannot modify header information

fijate esto:

Cita:
<?PHP
if(!isset($_GET["inyeccion"])){
header("location: ?inyeccion='");
} else {
$texto= 'Tu servidor ';
if($_GET["inyeccion"] != "'") $texto.= 'no ';
$texto.= 'tiene problemas de inyección';
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin t&iacute;tulo</title>
</head>

<body>
<p>

<?
echo $texto;
?>
</body>
</html>
__________________
Clasificados gratis