Jump to content


Photo

calling a parsed file


  • Please log in to reply
4 replies to this topic

#1 fewchurpro

fewchurpro
  • Members
  • PipPip
  • Member
  • 10 posts

Posted 18 October 2006 - 10:21 PM

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">
                      <*** Call the php file camelotstatus.php here ***></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.

#2 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 19 October 2006 - 12:04 AM

you can do this with an i frame ok

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

Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#3 fewchurpro

fewchurpro
  • Members
  • PipPip
  • Member
  • 10 posts

Posted 19 October 2006 - 12:29 AM

thank you for the quick responce

will that work without a css? and will it call a php file?

#4 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 19 October 2006 - 12:35 AM

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.
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#5 fewchurpro

fewchurpro
  • Members
  • PipPip
  • Member
  • 10 posts

Posted 19 October 2006 - 01:26 AM

Again, thank you for your speedy answer.

It worked perfectly. Thank you so very much.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users