PHP Zend Framework - How to Get Request URI Fragment from Request Object?

后端 未结 4 1589
情话喂你
情话喂你 2021-01-05 08:10

Say e.g. i have a URI http://127.0.0.1/somecontroller/someaction#12345 that takes me to the someAction() action of the someController controller. F

4条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-05 08:20

    Couldn't you use the php function(s) explode("#",$_SERVER['REQUEST_URI'])? Maybe I've misunderstood the question.

提交回复
热议问题