Jump to content

framebreak test


chery

Recommended Posts

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]<?php
if ($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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.