Yii Framework Forum: Mostrar Ip - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Mostrar Ip Rate Topic: -----

#1 User is offline   desh 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 25
  • Joined: 10-October 12
  • Location:Guatemala

Posted 11 November 2012 - 03:39 PM

hola compañeros, con una consulta quick!

necesito mostrar mi ip, pero en Yii no se como mostrarla, ya que uso php puro con la siguiente funcion, pero en yii no me funciona
$ip = $_SERVER['REMOTE_ADDR'];
echo $ip;


alguna sugerencia de como mostrarla,
saludos :)
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users