View previous topic :: View next topic |
Author |
Message |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Sun Feb 08, 2004 8:04 pm Post subject: SSI Time & Date (Possible Bug) |
|
|
I have been playing with some SSI and I have tried the code
strings , I don't what you call them ? Varibals ? any way , I tried
this code and it did not display in my browser after going to
http://my-sites.com/ssi.html
SSI Enabled: Yes
SSI Extensions: shtml shtm html
SSI Code: Code: | <!--#config timefmt="%m/%d/%y" --> |
Site Refer: http://ajen1020.hypermart.net/ssi.htm |
|
Back to top |
|
|
jtc970 -
Joined: 24 Mar 2003 Posts: 172
|
Posted: Sun Feb 08, 2004 9:57 pm Post subject: |
|
|
you configured it but you didn't output it
Code: | <!--#config timefmt="%m/%d/%y" -->
<!--#echo var="DATE_LOCAL" --> |
|
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Sun Feb 08, 2004 10:24 pm Post subject: |
|
|
I didn't know I was supposed to do that , nothing
told me to add that line , sorry :oops:
P.S. Is it possible I can use that code
to print the date in a text box of a form ? |
|
Back to top |
|
|
jtc970 -
Joined: 24 Mar 2003 Posts: 172
|
Posted: Sun Feb 08, 2004 10:51 pm Post subject: |
|
|
maybe try
Code: |
<!--#config timefmt="%m/%d/%y" -->
<input type="text" name="textfield" value = '<!--#echo var="DATE_LOCAL" -->'> |
|
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
|
Back to top |
|
|
|