Reply
Passing date & time SSI to a hidden form field
Old 02-26-2005, 08:41 PM Passing date & time SSI to a hidden form field
Junior Talker

Posts: 1
Hi. Hopefully this is a real simple problem for someone to solve. I have a form that is processing information, but I need to know the date and time it was submitted. So, I am using the following simple Server Side Include:

<!--#config timefmt="%c" --><!--#echo var="DATE_LOCAL" -->

This provides me with the date and time from the server. It provides the following output, which is exactly what I want.

Sat Feb 26 17:34:27 2005

The problem is that I can't seem to get this information passed to my form processing. I would like to use:

<input type="hidden" name="date" value="">

I have tried putting the SSI inside the value quotes, but I can't get it to work. I have tried several vairations of the same thing, including parnthsis, using the backslash "\" for the quotes.

Could someone let me know a simple way of doing this? Whatever solution I come up with, must use the server date and time.

Thank you
luckyluk is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Reply     « Reply to Passing date & time SSI to a hidden form field
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.10573 seconds with 12 queries