27-05-2005, 11:57
|
|
|
חבר מתאריך: 20.12.01
הודעות: 20,962
|
|
לפי הספר שלי זה אמור לפעול.
כדאי לנסות כמה דברים:
- תבדוק אם השרת שלך תומך ב-DATE_LOCAL
- תכתוב אותו באותיות גדולות(קאפס)
כפי שכתוב כאן:
- Some webservers require that the variable name be CAPITALIZED.
- Support for all these tages varies by server software. Not all work with every server.
link
- שלישית, תעשה גוגל ותבדוק מה אתה MS אומר על זה:
The #echo Server-Side Include (SSI) directive instructs the Web server
to display the value of a server variable. You must surround a directive
with HTML comment delimiters.
By default, this directive can be used only in STM pages; it cannot be
used in ASP pages. For ASP pages, you can access some of the variables
listed below by using the Request.ServerVariables Collection collection. For
DATE_GMT and DATE_LOCAL, you can use VBScript and JScript functions
in ASP pages.
link
אני לא יודע אפילו מה אלה דפי STM, אבל אם השתמשת בדפי ASP, ברור למדי למה זה לא פועל...
|