Well you can do this, but not quite the way I said.
(sorry a late night!!);
You are using javascript to write a file which has the document.write code in it.
This is very useful for including files cross servers in a quick fix manner or withou databasing or perl knowledge.
And a lot quicker.
Here is the code for the two files-
// (1) Main Page displaying remote file- target.html
<html>
<head>
<title>The Tuckshop.com File Include Script</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body >
<script language="JavaScript" src="
</body>
</html>
// (2) Include File- index.php3
document.write("<div><font face=arial color=#000000 size=1 height=25 width=25>your page here</font><br></div>"
//Including a remote file accross servers- to be used for things like headline sharing etc
//
// There are two files here-
// (1)The target file where your are 'including' the file- call it target.html or whatever you want
// (2)The include file - call it index.php3 or to change , change the link on the target.html page
// Known issues-
// -(2)index.php3 must all be on one line in the text editor- if the second line
// is there, even with no characters then there will be a javascript error.
// - you can include a third file into index.php3 say from a database, but remember again this third file would need to be on one line
// So make sure you have text editor which shows line numbers!!
// Javascript doesnt seem to limit the amount of characters it can read on one line so the file your are including can be any length you want Caspar Kennerdale
Senior Media Developer