tengo un archivo llamado log.php dentro de una carpeta llamada funciones
que tiene el siguiente codigo
Código PHP :
<FORM ACTION='ingresar.php' METHOD='post' >
<div align="center">T.I / C.C :
<INPUT TYPE='text' NAME='nick' SIZE=20 MAXLENGTH=20>
Password:
<INPUT TYPE='password' NAME='password' SIZE=20 MAXLENGTH=20>
<input type='hidden' name='url' >
<input name='submit' type='submit' class='boton' value='Ingresar' />
</FORM>
<?
include ('../config.php');
include('../login.php');
if($loginCorrecto)
{
echo $apellidoUsuarioL;
echo ", "
.$nombreUsuarioL;}
else {echo "INVITADO";};
print $_COOKIE["usNick"];
?>y en el root
tengo el index.php
con el mismo codigo del log.php cambiando
Código PHP :
include ('../config.php');
include('../login.php');
............................<FORM ACTION='ingresar.php' METHOD='post' >por
Código PHP :
include ('config.php');
include('login.php');
............................<FORM ACTION='funciones/ingresar.php' METHOD='post' >entro y me logeo, y aqui viene el problema
en index.php me aparece asi

y en funciones/log.php aparece asi

no se cual es el problema, las cookies son las mismas , en log me lee y en index no!
alguien que me ayude!!!!
