SSI Time & Date (Possible Bug)

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Sun Feb 08, 2004 8:04 pm    Post subject: SSI Time & Date (Possible Bug) Reply with quote

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 View user's profile Send private message Visit poster's website
jtc970
-


Joined: 24 Mar 2003
Posts: 172

PostPosted: Sun Feb 08, 2004 9:57 pm    Post subject: Reply with quote

you configured it but you didn't output it

Code:
<!--#config timefmt="%m/%d/%y" -->
<!--#echo var="DATE_LOCAL" -->
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Sun Feb 08, 2004 10:24 pm    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
jtc970
-


Joined: 24 Mar 2003
Posts: 172

PostPosted: Sun Feb 08, 2004 10:51 pm    Post subject: Reply with quote

maybe try
Code:

<!--#config timefmt="%m/%d/%y" -->
<input type="text" name="textfield" value = '<!--#echo var="DATE_LOCAL" -->'>
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Sun Feb 08, 2004 11:01 pm    Post subject: Reply with quote

Hey you knew that would work lol :D

check it out: http://os17fan.cjb.net/ssi.html
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group