It is currently Thu Mar 28, 2024 8:40 am


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: A javascript that will insert a file on a page?
PostPosted: Sun Jul 08, 2007 4:39 pm 
Newbie
Newbie

Joined: Sun Jul 08, 2007 3:42 pm
Posts: 4
I'm trying to find a javascript that will take in the text from an html file, and print it on a page. I use program that generates RSS feeds and at the same time creates a HTML file corresponding to it. Right now, I use the <object> tag to insert the page, but this causes problems with the height of the div and the object itself, and I would rather have the actual code paste where the div is so I can use auto-height.

Anyone know what I can do?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 18, 2007 5:26 pm 
Getting Started
Getting Started

Joined: Sun Jul 15, 2007 12:06 pm
Posts: 59
I didn't know static HTML files could rewrite publicly. Try PHP.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 30, 2008 4:36 pm 
Newbie
Newbie

Joined: Wed Jan 30, 2008 4:02 pm
Posts: 13
If your talking about like including the whole html page into your page(s) then your looking for SSI or PHP includes.

Here's some examples:

Code:
<!--#include virtual="PATH"-->


Code:
<?PHP
include("PATH");
?>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ]  Moderators: Moderators, Support Team

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Hosting | Domains | Servers | Extras | Order | Support | Contacts | FreeHostia © 2011