• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 255
  • Last Modified:

DATE STAMP FOR PAGES (ORD=)

Hi , I got a request from a client who want banner add's with couble-click.net, and apparently it needs a date stamp from the page to work. ( Looks like an extra ORD="" field in the HTML), I've never done this before, and was wondering where the date stamp comes from ( is it generated by my server, special mods need to be loaded???)
Thanks
PS, run Apache/perl/mysql/php on Linux RH 7.0
0
psimation
Asked:
psimation
  • 5
  • 3
1 Solution
 
COBOLdinosaurCommented:

for server side use an include:

<!--#echo ORD="DATE_LOCAL" -->

for client side:

<script language="JavaScript">
<!--
   var ORD= new DATE();
//-->
</script>


Cd&
0
 
COBOLdinosaurCommented:
Ooops,

new DATE()

Should be new Date()

it's case sensitive.

Cd&
0
 
psimationAuthor Commented:
Hi
Thanks, I tried these, but there seems to be problems with y SSI.
Could you help me to figure out if my SSI is setup correctly?
Nothing happens when I open the page ( it doesn't seem to execute the SSI's)
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
COBOLdinosaurCommented:
You'll need to make sure the SSI is configured.  You'll need access to
the httpd.conf file which should be in the config directory of the main
Apache directory, if memory serves me.

Cd&

0
 
iagorubioCommented:
0
 
iagorubioCommented:
0
 
iagorubioCommented:
0
 
COBOLdinosaurCommented:
Active dialog until my last comment; then silence for a month.  Indicates the problem is solved.  Therefore, answer as supplied above.

Cd&
0
 
COBOLdinosaurCommented:
Oops, missed the answer button again. LOL

Active dialog until my last comment; then silence for a month.  Indicates the problem is solved.  Therefore,
answer as supplied above.

Cd&
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now