Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-21-2008, 07:45 AM
Junior Member
 
Join Date: Apr 2008
Posts: 28
Default Is there some kind of built in referer?

Hello,

I've been looking for some kind of referer variable that (most likely) is already implemented in ZEND itself? Like a variable I can just ask what the last page was?

I should think there already is something implemented for that.


On the site I'm making I have page A that has 2 actions (approve & deny). These actions can be called at different pages as well, so I would need to know what page I can from to link back to that page. I've been googling for referer in ZEND and I haven't really been very succesful in finding a solution to this. I probably could always put it in a session var, but thats just too stupid if there's a method implemented for it?

Hope somebody can point me in the right direction !

Kind Regards,


Filip
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-21-2008, 08:02 AM
Junior Member
 
Join Date: Apr 2008
Posts: 28
Default

Typically... after googling for about an hour today, creating this topic and googling 5 minutes longer I came across

$_SERVER['HTTP_REFERER']

I suppose this was more or less what I was looking for

=_=
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:54 PM.