Ver Mensaje Individual
  #3 (permalink)  
Antiguo 28/06/2009, 17:44
Avatar de kaninox
kaninox
 
Fecha de Ingreso: septiembre-2005
Ubicación: In my House
Mensajes: 3.597
Antigüedad: 19 años, 5 meses
Puntos: 49
Respuesta: manejo de variables con datos tipo include

andales me devuelve un array lleno de datos hasta con imagenes :P
logeado me devuelve :

Código html:
Ver original
  1. array(15) {
  2.   ["id"]=>
  3.   &string(1) "2"
  4.  ["is_logged"]=>
  5.  bool(true)
  6.  ["is_guest"]=>
  7.  &bool(false)
  8.  ["is_admin"]=>
  9.  &bool(false)
  10.  ["is_mod"]=>
  11.  bool(false)
  12.  ["username"]=>
  13.  &string(6) "kanino"
  14.  ["language"]=>
  15.  &string(7) "spanish"
  16.  ["email"]=>
  17.  &string(23) "[email protected]"
  18.  ["name"]=>
  19.  &string(6) "kanino"
  20.  ["smiley_set"]=>
  21.  &string(7) "default"
  22.  ["messages"]=>
  23.  &string(3) "176"
  24.  ["unread_messages"]=>
  25.  ∫(0)
  26.   ["popup_messages"]=>
  27.   bool(false)
  28.   ["avatar"]=>
  29.   array(4) {
  30.     ["href"]=>
  31.     string(50) "http://anp.vkmanga.com/site_black/staff/kanino.jpg"
  32.     ["width"]=>
  33.     string(3) "120"
  34.     ["height"]=>
  35.     string(3) "120"
  36.     ["image"]=>
  37.     string(122) ""
  38.   }
  39.   ["total_time_logged_in"]=>
  40.   array(3) {
  41.     ["days"]=>
  42.     float(12)
  43.     ["hours"]=>
  44.     float(14)
  45.     ["minutes"]=>
  46.     float(5)
  47.   }
  48. }

y no logeado me devuelve

Código html:
Ver original
  1. array(15) {
  2.   ["id"]=>
  3.   (0)
  4.   ["is_logged"]=>
  5.   bool(false)
  6.   ["is_guest"]=>
  7.   &bool(true)
  8.  ["is_admin"]=>
  9.  &bool(false)
  10.  ["is_mod"]=>
  11.  bool(false)
  12.  ["username"]=>
  13.  &string(0) ""
  14.  ["language"]=>
  15.  &string(7) "spanish"
  16.  ["email"]=>
  17.  &string(0) ""
  18.  ["name"]=>
  19.  NULL
  20.  ["smiley_set"]=>
  21.  &string(7) "default"
  22.  ["messages"]=>
  23.  int(0)
  24.  ["unread_messages"]=>
  25.  int(0)
  26.  ["avatar"]=>
  27.  array(0) {
  28.  }
  29.  ["total_time_logged_in"]=>
  30.  array(3) {
  31.    ["days"]=>
  32.    int(0)
  33.    ["hours"]=>
  34.    int(0)
  35.    ["minutes"]=>
  36.    int(0)
  37.  }
  38.  ["popup_messages"]=>
  39.  bool(false)
  40. }
__________________
Gokuh Salvo al mundo. PUNTO!!!!