Home  >  Article  >  Backend Development  >  Solve the exit frame problem in web pages_PHP tutorial

Solve the exit frame problem in web pages_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 17:34:46886browse

I was doing a PHP graduation project for my classmates and encountered this problem
I believe many friends have also encountered it. I made the background using a framework. The code is as follows:




 

<br><body><br>Your browser does not support frames ! <br></body><br>


On the left is the menu bar, and there is an exit. When I click Exit, the right side of the program exits to the login interface, but the menu on the left is still the same.
The code is as follows:


href="index.php?action=logoff"
target=_self>Exit the system


That’s the problem. We can completely exit the framework by simply making some modifications! Modify as follows:


href="index.php?action=logoff"
target=_top>Exit the system


Change _selft to _top and the problem is solved!

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/508450.htmlTechArticleI am doing a PHP graduation project for my classmates. I believe many friends have encountered this problem. I am in the background. Made using a frame, the code is as follows: frameset rows="*" cols="185px,*" frame...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn