且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

通过在 url 中键入链接拒绝直接访问 php 文件

更新时间:2023-12-02 23:44:28

解决方案有很多,但基本上只有在会话有效时才需要生成页面.如果无效,将用户分流到非访问显示.如果你有这个并且它似乎不起作用,也许你应该发布一些代码.

There are lots of solutions, but basically you need to generate the page only if the session is valid. If not valid, shunt user to a non-access display. If you have this and it seems not to work, perhaps you should post some code.