Ver Mensaje Individual
  #18 (permalink)  
Antiguo 30/11/2005, 09:01
Avatar de Nova
Nova
 
Fecha de Ingreso: enero-2003
Ubicación: Hyo
Mensajes: 832
Antigüedad: 21 años, 3 meses
Puntos: 1
Bueno, a ver tengo otro formulario que es para cambiar password (change_pass.php) y me salen estos errores:
Cita:
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home2/jgamarra/public_html/login/change_pass.php:6) in /home2/jgamarra/public_html/login/aut_verifica.inc.php on line 44
Aqui el formulario PHP ("change_pass.php").
Código HTML:
1.	<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2.	<html>
3.	<head>
4.	<title>Cambiar Password</title>
5.	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6.	<style type="text/css">
7.	<!--
8.	.Estilo1 {
9.	font-family: Verdana, Arial, Helvetica, sans-serif;
10.	font-size: 14px;
11.	font-weight: bold;
12.	}
13.	.Estilo2 {
14.	font-family: Verdana, Arial, Helvetica, sans-serif;
15.	font-size: 11px;
16.	}
17.	.Estilo6 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold; color: #FFFFFF; }
18.	-->
19.	</style>
20.	</head>
21.	<body>
22.	<form name="form1" method="post" action="change.php">
23.	<p align="center" class="Estilo1">&nbsp;</p>
24.	<p align="center" class="Estilo1">&nbsp; </p>
25.	<table width="349" border="1" align="center">
26.	<tr bgcolor="#009900">
27.	<th colspan="2" class="Estilo2"><span class="Estilo6">CAMBIAR CLAVE</span></th>
28.	</tr>
29.	<tr>
30.	<th colspan="2" bgcolor="#E0DFE3" class="Estilo2"><p align="center" class="Estilo1">
31.	<?php
32.	require("aut_verifica.inc.php");
33.	$nivel_acceso=0; // definir nivel de acceso para esta página.
34.	if ($nivel_acceso < $_SESSION['usuario_nivel']){
35.	header ("Location: $redir?error_login=5");
36.	exit;
37.	}
38.	$fica=$_GET['err'];
39.	if ($fica==1){
40.	echo "<font face='Verdana, Arial, Helvetica, sans-serif' size='1' color='#FF0000'>Password nuevo incompatible</font>";
41.	}
42.	if ($fica==2){
43.	echo "<font face='Verdana, Arial, Helvetica, sans-serif' size='1' color='#FF0000'>Password antiguo incompatible</font>";
44.	}
45.	if ($fica==3){
46.	echo "<font face='Verdana, Arial, Helvetica, sans-serif' size='1' color='#FF0000'>Password antiguo incorrecto</font>";
47.	}
48.	?>
49.	</p></th>
50.	</tr>
51.	<tr>
52.	<th width="189" bgcolor="#E0DFE3" class="Estilo2"><div align="left">Password Anterior</div></th>
53.	<th width="144"><input name="pass_ant" type="password"></th>
54.	</tr>
55.	<tr>
56.	<td bgcolor="#E0DFE3" class="Estilo2">Repita Password Anterior </td>
57.	<td><input name="pass_ant1" type="password"></td>
58.	</tr>
59.	<tr>
60.	<td bgcolor="#E0DFE3"><p class="Estilo2">Nuevo Password</p></td>
61.	<td><input name="new_pass" type="password" ></td>
62.	</tr>
63.	<tr>
64.	<td bgcolor="#E0DFE3" class="Estilo2">Repita Nuevo password </td>
65.	<td><input name="new_pass1" type="password" ></td>
66.	</tr>
67.	<tr bgcolor="#E0DFE3">
68.	<td colspan="2"><input type="submit" name="Submit" value="Enviar">
69.	<input type="button" name="Submit2" value="Volver a Men&uacute;" onClick="javascript:history.back()"></td>
70.	</tr>
71.	</table>
72.	</form>
73.	</body>
74.	</html> 
Y el código de aut_verifica.inc.php esta arriba, como bien dices Cluster no se muesra "session_Start()", y eso nose de donde sale.
__________________
http://about.me/jemano