IFrame.php question

Ok, so basically i want to show Members Online, Staff Online, and Forums Statistics on an external website using IFrame.php. My question is how would I go about it. We previously had this set up but moved dedicated servers due to a DDos attack corrupting a bunch of files, and when we switched I forgot to grab the IFrame.php. When I asked the guy who initially did it for us if he still had the file he said that he deleted it. So I am going to try to do this myself.

Basically all I am asking is how I would show the specified information on an external website using IFrame.php. Any help is greatly appreciated.
Thats not quite what i am looking for. In the external site I have:
 <iframe src="http://forums.empiresmc.net/iframe.php" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" width="240" style="border:0; width: 240px; height: 620px; overflow:hidden; position: relative; z-index:5000"></iframe>
I am wondering what I would put in iframe.php.