♦View your IP Address: (none)♦Members♦Help♦Bookmark♦NewHOT♦110mb♦Alexa Ranking♦
♦Study♦InfoTech♦Security♦Entertainment♦Tourism♦Career♦Social♦Business♦Science♦
♦California-USA: ♦
Config Command of SSI
Products / Services
The Config command is used to control certain aspects of parsing behaviour. In other words, you can define how certain elements are displayed instead of their default way.
The config command allows you to specify the format that will be used for dates, times and file sizes and the text of the generic error message which will be sent to the client if an SSI processing error occurs.
To change the format for how file size is displayed:
<!--#config sizefmt="BYTES" -->
or...
<!--#config sizefmt="ABBREV" -->
Sizefmt sets the format to be used when displaying file sizes using the fsize command. As shown in the above example it can be formatted to display in bytes or in abbreviated format as kilobytes or megabytes as appropriate.
To format the date to yy/mm/dd you can use:
<!--#config timefmt="%y/%m/%d" -->
More about this in the SSI Date Command guide.
If an SSI command fails there is a standard error message displayed. To change this message you can use:
<!--#config errmsg="Hugh Stun, we have a problem." -->
You can actually define more than one attribute in a single config statement. The following example defines the format for both the date and file size:
<!--#config timefmt="%y/%m/%d" sizefmt="ABBREV" -->
- Introduction to Server Side Includes (SSI).
- Enable SSI On Your Server via .htaccess file.
- Include Command of SSI.
- Echo Command of SSI.
- Date Command of SSI.
- Config Command of SSI.
- Exec Command of SSI.
- Other Basic Commands of SSI.
- SSI Conditional Basics.
- Conditional Expressions of SSI.
- Choose colors for your website.
- 10 Reasons Why People Don't Visit Your Web Site.
- 10 Profitable Reasons To Add A Discussion Board Or Chat Room To Your Web Site.
- 10 Legal Commandments for Your website.
- A sample for comments include Google Search results on Web, Videos, Blogs.
- Add Favicon to further promote your website.
- Website Design and content, technical guidelines and basic principles.
- List of common MIME types and their corresponding file extensions.
- What is a RSS Feed ? How to make Static Feeds and Dynamic Feeds.
- Resources design website for webmasters.
♦Email to your friend ♦Email to us ♦Get updates by Email ♦View updates on Web ♦Follow us on Twitter ♦Google Safe Browsing ♦McAfee SiteAdvisor ♦Diagnostic this page ♦Noreton SafeWeb ♦DrWeb ♦Technorati Links ♦Save to del.icio.us ♦Add to del.icio.us ♦Digg This! ♦Share on Facebook ♦outside.in: geotag this story ♦Discuss on Newsvine ♦Stumble It! ♦Add to Mixx!♦
If you would like to submit your website for FREE or advertise your own webpage(s) on our webpages, please enter Terms of Service webpage to send your request. Thank you!