Ver Mensaje Individual
  #4 (permalink)  
Antiguo 28/05/2008, 14:25
nostromo426
 
Fecha de Ingreso: mayo-2008
Mensajes: 3
Antigüedad: 15 años, 10 meses
Puntos: 0
Respuesta: Prolongar sesion indefinidamente

El codigo que se ejecuta es este. No probe aun la solucion de T4keOveR, pero esto quizas de mas luces:

$mycookie = $username.'.cookie';
$fh = fopen($mycookie,'w');
fclose($fh);

$path_to_cookie = realpath("$mycookie");

$setcookie = fopen($path_to_cookie,'wb');//this opens the file and resets it to zero length
fclose($setcookie);