Ver Mensaje Individual
  #2 (permalink)  
Antiguo 13/09/2011, 20:46
Avatar de carlos_belisario
carlos_belisario
Colaborador
 
Fecha de Ingreso: abril-2010
Ubicación: Venezuela Maracay Aragua
Mensajes: 3.156
Antigüedad: 14 años
Puntos: 461
Respuesta: function deprecated

pues el mensaje te lo dice todo fijae aca http://php.net/manual/es/function.se...registered.php, como resuelves, coun un sencillo isset
Código PHP:
Ver original
  1. if(isset($_SESSION['myusername'])) {
  2.   ...
  3. }
por cierto el uso del short-tag esta desaconsejado, saludos
__________________
aprende d tus errores e incrementa tu conocimientos
it's not a bug, it's an undocumented feature By @David
php the right way