<!--#include scalabilty

liunx

Guest
hi,<br />
<br />
I'm using a <!--#include virtual="file.txt" --> statement to populate a page with a value (doesn't matter what it actually is). <br />
<br />
It works fine, but my method isn't very scalable as I can only get this to work if the #include gets it's data from a unique file, i.e. I need a seperate file for each value I want to import to the webpage.<br />
<br />
Is there anyway to get the #include to read through a singular file that holds a list of data with which to populate the webpage?<br />
<br />
thanks in advance,<br />
<br />
Ad<!--content-->Well if you only have SSI support then no, but if you have a server-side language available then yes you could. Do you have a server-side language available?<!--content-->Yes, an include only parses the contents of an ascii file, if you want to play with data bases, as lavalamp said, you will need a server side language. Data bases can be mssql server, msde, mysql, oracle, foxpro, access, xml, or a text file. To use a text file like a data base, well its a pain in the butt.<!--content-->
 
Back
Top