As far as I KNOW in php, No. However you can breaK out of a Iframe <script language="Javascript"> <!-- if (top.location!= self.location) { top.location = self.location.href } //--> </script> Code (markup):
Remember php runs on the server and once it has sent the page to the browser it no longer has any control. The request would look the same to php / your server with or without an iframe.
1. do a fsockopen or a file_get_contents 2. read the content of the url into a string 3. parse the string for iframes simple enough?
If you can get the website thats framing you with javascript, store it in a cookie, reload and mail it. Peace,