dongyu2300 2013-06-06 12:26
浏览 29

如何在这个php程序中进行页面链接? [关闭]

For instance, in tumblr.com, the page link will be like tumblr.com/dashboard/x, and x means page number.

In php, i used to set page like /?page=x.

I am wondering that how to make it working like tumblr.com?

I do believe it's not a path that php created.

  • 写回答

2条回答 默认 最新

  • dsedug8644 2013-06-06 12:27
    关注

    This is called URL rewriting and can be achieved with Apache's mod_rewrite for example : http://httpd.apache.org/docs/current/mod/mod_rewrite.html

    评论

报告相同问题?