Jump to content

Archived

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

fewchurpro

calling a parsed file

Recommended Posts

I'll start with a little background here. I play DAoC, an online game and they have xml files to pull info from to use on websites. I recently got a script for server status and it works great. Written in PhP very clean.

Now for what I really need.

I would like to call that php file into the guild web page. And I'd like to put it in a box, sorta along the lines that you would see in say php nuke. I cant seem to figure out how to call it to the html file. Here is where id like to add it:

  <tr>
                      <td width="100%">
                <img border="0" src="images/content-header.gif" width="120" height="20"><div align="center">
                  <center>
                  <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber6">
                    <tr>
                      <td width="100%" bgcolor="">
                      <p align="center">
                     
                      <br>
          <div>
                      <font size="1" face="Verdana">
                      [color=red]<*** Call the php file camelotstatus.php here ***>[/color]</font><br>
          </div>
<br>
      </td>
</tr>
</table>
                    <img border="0" src="images/content-bottom.gif" width="120" height="20">
                    </center>
            </div>
    </td>
</tr>



Is there any command or way to put the file there?

Sorry it looks so jumbled here, copy and pasted out of editor, looks all neat and aligned there.

Share this post


Link to post
Share on other sites
you can do this with an i frame ok

postion the i frame were ever in css then get the page.php/page.html
[code]
<IFRAME SRC="foo.html" WIDTH=300 HEIGHT=100></IFRAME>
[/code]

Share this post


Link to post
Share on other sites
you dont need to use css ok as long as you place the iframe in the place it needs to be and set the height and width corectly ok.

remember to set the background color of the new php.page as the same background color off the defualt page so it all looks the same as one page.

Share this post


Link to post
Share on other sites

×

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.