Click to See Complete Forum and Search --> : SSI Alternative
benwalden
03-06-2003, 03:10 PM
Hey guys, I've been trying to find a javascript that will allow me to emulate the actions of Server Side Includes by using a Javascript that will grab code from an external file (either HTML or TXT) and put it into a page.
Is this possible? If so, can somebody send me the information on how to make it happen?
Thanks in advance
You have to use a server-side language like Perl.
benwalden
03-06-2003, 05:16 PM
there is no canned functions that used document.write to passs code from a souce to the destination?
the reason I'm asking is the fact that I'm building a site on geocities.com - absolutely void of all server side applications.
thanks in advance.
Sorry, there is no way whatsoever to interact with external files with Javascript. The only external file interaction that can be done is simple HTML: <script src="someFile.js"> But that's about the most that you can do.
It is possible to interact with the FileSystem using ActiveX and the WSH (Windows Scripting Host). I've used JavaScript to add a shortcut to Notepad before, but that's just about the most I could do. :(
benwalden
03-06-2003, 05:52 PM
well then, what scripting options would you suggest? I'm decent with ASP and SSI, but I can't find any service through geocities to make it work...
Geocities doesn't support any server-side language. Here is a list of free ASP sites:
http://www.websamba.com/
http://www.mastercompra.com/
http://hosting.timus.ru/
http://www.cfm-resources.com/
http://www.brinkster.com/
http://www.7host.com/
http://www.efrance.fr/
http://www.maxipointservers.net/
http://www.ionwd.com/
http://www.1asphost.com/
[/list=1]
There are also ASP .NET hosting sites:
[list=1]
http://www.brinkster.com/
http://www.dotnetplayground.com/
zapdos900
03-06-2003, 06:00 PM
:confused: :confused: :confused:
How do u put an image below name.
benwalden
03-06-2003, 08:23 PM
Jona,
thanks for the rec. I tried brinkster and it worked perfectly! Thanks again!
zapdos900
03-08-2003, 07:37 AM
Bye