Framework problems? Master

Source: Internet
Author: User
Framework problems? Master PHPcode & lt ;? Phpinclude (& quot; .. loginqx. php & quot ;);? & Gt; & lt ;! DOCTYPEhtmlPUBLIC & quot;-W3CDTDXHTML1.0FramesetEN & quot; www. w3.orgTRxhtml1D framework question? Master
PHP code
  Untitled Document              
<Body> </body>

My background is set to be accessible only when a user logs on. The background is a framework structure, but why is my logon successful? I am prompted that I have no logon permission
The login permission is written in this way, that is, qx. php [code = PHP] [/code].
PHP code
Why not? Why?

------ Solution --------------------
Session_start ();

Echo "script" alert ('You have no access permission. please log on first! '); Window. location. href =' ../login/login1.php 'script ";
Else {
Echo "script" alert ('Welcome! '); Window. location. href =' ../admin/index. php' script "; // enter the branch after logging in successfully. And you let it jump to the original page. Therefore, you must enter the branch again. Always jump. Still not clear?
// Solution: do not include qx. php in/admin/index. php.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.