Industries Run Your Business E-Business News and Research Community On The Air Marketplace
Search:
Content
 
 
  Search
Products
  Search
 Advanced Search
 Search Help
 Site Map
Shopping Cart
Featured Business Services

Member Center
Register with Office.com

Email
Calendar
Account Information
Sign In/Out


Get our Free Newsletter
Get free Desktop Toys
Take a Tour of Office.com



Perlaccess : Tutorials
Example SSI Call (9.5)
by Jacob A. Wheeler
http://www.bigresources.com

Example SSI Call

The format of a SSI looks something like the following:
<!--#directive attribute="value" -->

You will find two very common directives. The first, and most common, is #include. This directive includes two attributes, virtual and file.
<!--#include virtual="/path/to/perl_script.cgi" -->
Want to embed a cgi/perl script?

<!--#include file="/path/to/textfile.txt" -->
Or maybe a plain text file?

<!--#include virtual="/path/to/header.html" -->
How about an html file? maybe a header or footer?

The next most common SSI directive is ExecCGI. NOTE: You must have ExecCGI enabled in your apache's httpd.conf configuration file for this next method to work. (It's commonly enabled by default)

This method is most commonly used for embedding cgi/perl scripts, but is not limited to.

<!--#exec cgi="/path/to/textfile.txt" -->
An example to call/embed a text file. (works for any file type like previous examples)
BigResources Weekly
1-Click-Clipart
Free Clipart Reviews
123 Webmaster
Free Web Tools
A1 Javascripts
Free Java Scripts
Font Files
Free Fonts
Freeware Files
Free Downloads
FreeWebTemplates
Free Website Templates
Fresher Image
Free Clipart
HTML Forums
Free Help
Perl Access
Learn Perl Scripts

 
Free email - Signup Now!

Big Partnership!
The Bigresources.com network has partnered with Office.com!  

Read the details


Other Resources
FreebieDirectory.com




Perlaccess.com and all content within this site is copyright © Big Resources, Inc.
Mascot team created by Drawshop.com
Help Contact Us Join Our Team Partners About Us Home
Copyright © 1999-2001 Office.com Inc. All Rights Reserved.
Use of this site is subject to Office.com's Terms of Service.
Office.com's Privacy Policy.