/    Sign up×
Community /Pin to ProfileBookmark

Has anyone ever used

[code]<!– #include file = “blah.inc” –>[/code]

?

Are there any compatibility issues? Does it load slow?

to post a comment
HTML

7 Comments(s)

Copy linkTweet thisAlerts:
@Compguy_PeteAug 03.2003 — Are you asking if using SSI is slow?

If you are...

It's going to raise your server load... However it's not going to slow down your page load as all. the use of SSI is transparent to the user and they have no idea.
Copy linkTweet thisAlerts:
@fla5hba5hauthorAug 03.2003 — Oh okay.

But is there any way I can make SSI work on my computer?

"my computer" meaning when I'm offline working on my site.
Copy linkTweet thisAlerts:
@Compguy_PeteAug 04.2003 — Yes and no...

Either setup Personal Web Server or Dreamweaver will show the SSI calls in the preview.

However without some sort of webserver or program like dreamweaver there isn't much hope for viewing it offline.
Copy linkTweet thisAlerts:
@fla5hba5hauthorAug 04.2003 — Okay, thanks

Any idea why [URL=http://fla5hba5h.topcities.com/testingInclude.html]this[/URL] doesn't work?

I have the .htaccess file, dunno what's wrong..?
Copy linkTweet thisAlerts:
@Compguy_PeteAug 04.2003 — Here do this...

Rename the content.inc file to html or something else... the content setup is fine. I'm clueless on why you would use a .inc extention.

Then use this coding... what you have on your page is incorrect.

[B]<!--#include file="content.html" -->[/B]

THEN...

Rename your page that is using the SSI call to .shtml

.html files cannot parse the file naturally and you would have to modify your handlers to do so. Most vertual hosts will not allow you to make the modification thou.
Copy linkTweet thisAlerts:
@nkaisareAug 04.2003 — As Pete mentioned, there should be no space between <!-- and #

Also, prefer the use of virtual instead of file:

<!--#include virtual="filename.inc" -->

file attribute is OK for this example, not OK if you need to specify path to the included file.
Copy linkTweet thisAlerts:
@Compguy_PeteAug 04.2003 — Nkaisare is correct you could still use the .inc with the virtual attribute however learn to walk before you run ?
×

Success!

Help @fla5hba5h 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.3,
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,
)...