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.
精彩评论