Yii Framework Forum: How to retrieve fullurl information - Yii Framework Forum

Jump to content

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

How to retrieve fullurl information Rate Topic: -----

#1 User is offline   murugan 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 72
  • Joined: 12-June 09
  • Location:Chennai,India

Posted 14 June 2009 - 08:28 AM

my page has the url as
url=http://localhost/project2/index.php?r=holiday/login&records=10&result=&page=3
how to retrive it
it means how to store to a variable that variable must have value of full url thats all
0

#2 User is offline   whoopass 

  • Advanced Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 119
  • Joined: 27-May 09
  • Location:Ajax, Ontario, Canada

Posted 14 June 2009 - 02:58 PM

Page isn't working, tis not found :).
0

#3 User is offline   Dave 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 187
  • Joined: 09-October 08

Posted 30 June 2009 - 12:06 PM


Here you go

Yii::app()->request->getRequestUri()

0

#4 User is offline   phazei 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 64
  • Joined: 20-July 09

Posted 09 August 2009 - 05:45 PM

View PostDave, on 30 June 2009 - 12:06 PM, said:

Here you go
<pre class='prettyprint'>
Yii::app()->request->getRequestUri()
</pre>



What about getting where the url actually goes after the routing rules from the urlManager?
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