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

SAP Web Service from .NET via WCF -

Optimized Line drawing in QT -

datetime - str to time in python -