/    Sign up×
Community /Pin to ProfileBookmark

<!–#include scalabilty

hi,

I’m using a <!–#include virtual=”file.txt” –> statement to populate a page with a value (doesn’t matter what it actually is).

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.

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?

thanks in advance,

Ad

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@David_HarrisonMay 27.2004 — 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?
Copy linkTweet thisAlerts:
@PeOfEoMay 27.2004 — 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.
×

Success!

Help @adrianfarrell spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...