开发者

Zend Framework: whats the difference between / and # Rest API calls?

I have a site which runs under zend framework. Whats the difference between the following calls in terms of control开发者_Go百科ler actions: http://localhost/home/password and http://localhost/home#password? Both works, but the results are slightly different: one output includes some UI elements while another one doesnt.


You are wrong. they are not the same.

In http://localhost/home/password home is controller and password is action.

In http://localhost/home#password home is controller and index is action and #password is page bookmark which is not accessible through php (zend framework) at all.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜