View your IP Address: (none)♦MembersHelpBookmarkNewHOT110mbAlexa Ranking

Vietnamese | English

StudyInfoTechSecurityEntertainmentTourismCareerSocialBusinessScience
World Times♦Vietnam:
♦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" -->

View more... 
Select Vietnamese to find other information or service from Vietnamese site(s).

Email to your friendEmail to usGet updates by EmailView updates on WebFollow us on TwitterGoogle Safe BrowsingMcAfee SiteAdvisorDiagnostic this pageNoreton SafeWebDrWebTechnorati LinksSave to del.icio.usAdd to del.icio.usDigg This!Share on Facebookoutside.in: geotag this storyDiscuss on NewsvineStumble 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!

©2004- ESI Portal ™®

Products / Services

(\__/)
(=^.^=)
(")_(")
ESI Portal
HOME
Top News
Online Tools
Online Translator
WYSIWYG Editor
Source Code Editor
Real Time Tool
2D Map Tool
3D Map Tool
Forex News
Online Shopping
Watch Videos
Listen Songs
Find Jobs
For Webmasters
About Us
Privacy Policy
Terms of Service
Contact Us
Live chat with us