PDA

View Full Version : Send iFrame contents to PHP for emailing



Simora
07-05-2009, 01:59 AM
I have an iFrame on a site which returns some location information, including Browser local time. How can I capture this info in the iFrame and have it emailed to me using PHP after the browser has finished loading.

The iFrame is like this;

<IFRAME SRC="http://www.ip2location.com/ib2/" WIDTH="204" HEIGHT="162" MARGINWIDTH="1" SCROLLING="no" FRAMEBORDER="0">
</IFRAME>

Any ideas and code samples welcome. Maybe some Ajax & PHP code.

Thanks