
18/11/2009, 08:01
|
| | Fecha de Ingreso: noviembre-2009
Mensajes: 76
Antigüedad: 15 años, 4 meses Puntos: 2 | |
Respuesta: ayuda con seguridad en php ahora me sale este mensaje y no lo puedo quitar
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at D:\xamp\xampp\htdocs\index.php:1) in D:\xamp\xampp\htdocs\index.php on line 3
el archivo tiene este codigo
<?php
session_start();
if($_SESSION[access]==true) {
echo "OK, tienes el acceso permitido";
}
else {
echo "Error, no tienes permiso.";
}
?>
<script language="JavaScript">
<!--
javascript:window.history.forward(1);
//-->
</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ".org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin título</title>
</head>
<body>
<form id="form1" name="form1" method="post" action="procesar.php">
<label>Dato:
<input type="text" name="name" />
</label>
<p>
<label>
<input type="submit" name="Submit" value="Enviar" />
</label>
</p>
</form>
</body>
</html> |