fewchurpro Posted October 18, 2006 Share Posted October 18, 2006 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. Quote Link to comment Share on other sites More sharing options...
redarrow Posted October 19, 2006 Share Posted October 19, 2006 you can do this with an i frame okpostion 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] Quote Link to comment Share on other sites More sharing options...
fewchurpro Posted October 19, 2006 Author Share Posted October 19, 2006 thank you for the quick responcewill that work without a css? and will it call a php file? Quote Link to comment Share on other sites More sharing options...
redarrow Posted October 19, 2006 Share Posted October 19, 2006 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. Quote Link to comment Share on other sites More sharing options...
fewchurpro Posted October 19, 2006 Author Share Posted October 19, 2006 Again, thank you for your speedy answer.It worked perfectly. Thank you so very much. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.