Skip to main content
GameDev.net gamedev.net
🔒 Locked

[web] Table = Height Auto scale?

Started by sosofurry22 Mar 9, 2007 at 8:37 AM 0 replies 950+ views
Original Post
sosofurry22
sosofurry22
Ok I got a question, I want to add a message board to our project site but I want it to load in an area on our site. Now I was thinking of just doing like I-Frames in HTML or something, but Auto scale on the Height doesn’t really work. Im doing this because I want the site to flow and not just sent you to a message board page in another window. So I’m thinking that there is a way to do this throw .PHP or .ASP but I’m a little weak on my PHP. So could someone help me out or at least let me know that it can be done by doing… ( Throw me in the right area ) Page I want to add the Message Board http://sl.vexsoft.net/MessageBoard.html
Lesan
Lesan
If you can use PHP, this is the simpliest code you could use:

include("http://server.com/messageboard.html");
?>

But many servers block such a command, so you can use (if the message board is pure HTML (or only with &#106avascript or another client-side technology)):

ReadFile("http://server.com/messageboard.html");
?>

I think that should work. Don't forget - the filename of a webpage with a PHP code must end with a suffix .PHP instead of .HTML.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.