chery Posted January 21, 2007 Share Posted January 21, 2007 I need an improved code for checking framebreakers.This is what I use at present but it doesn't seem to catch everything unfortunately.[code]<?phpif ($QUERY_STRING == "topframe") {echo("<html><head><title>$title</title></head><body bgcolor=#d3d3d3><div align=center>If you see this text and your site - <i>and didn't get any pop ups or message boxes</i> - your site will probably be approved...</div></body></html>");} else {echo("<html><head><title>$title</title></head><frameset rows=20,* border=0><frame marginheight=0 marginwidth=0 scrolling=no noresize border=0 src=/urltest.php?topframe><frame marginheight=0 marginwidth=0 scrolling=auto noresize border=0 src=\"$url\"></frameset></html>");}?>[/code] Link to comment https://forums.phpfreaks.com/topic/35027-framebreak-test/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.