php - get parameters from $_SERVER['HTTP_REFERER'] -


i want value http_referer in same/similar way you'd request:

$this->_getparam('order', 0); 

i thought i'd try this:

$lastrequest = new zend_controller_request_http($_server['http_referer']); $lastorder = $lastrequest->getparam('order', 0); 

but doesn't work. there no parameters. getparams returns empty string. missing? there better way this?

thanks!

this bad idea.

on top of justin pointed out, it's easier pass values on new page directly rather trying parse them referrer.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -