Hi, I am trying to put an automatic date modified on my web page. I copied this script from the rootsweb site: <p>Mount Pinos Webspinners -- <!--#echo var="LAST_MODIFIED"--></p> When I view it in Netscape Navigator, Only Mount Pinos Webspinners appears on the screen. What am I doing wrong? Thanks, Pat
At 10:17 PM 09/22/2001 -0400, Richard & Pat wrote: >Hi, >I am trying to put an automatic date modified on my web page. I copied >this script from the rootsweb site: > ><p>Mount Pinos Webspinners -- <!--#echo var="LAST_MODIFIED"--></p> > >When I view it in Netscape Navigator, Only Mount Pinos Webspinners >appears on the screen. What am I doing wrong? Well, you're not Mount Pinos Webspinners, so you might want to replace this with your name. <grin> But, you didn't tell us where this page is loaded on the server so we can look and see if there's somethign wrong with your coding. My best guess in the absence of any documentation is that you're trying to view a local copy of the page from your hard drive. The date is inserted by the server when it delivers the page to the browser. (That's why they're called *server-side includes*.) So, the only way to see this working is to upload your page to the server & then view it. Regards, Elsi
At 05:58 AM 09/24/2001 -0600, Richard & Pat wrote: >Hi, >I am trying to put an automatic date modified on my web page. I copied >this script from the rootsweb site: > ><p>Mount Pinos Webspinners -- <!--#echo var="LAST_MODIFIED"--></p> > >When I view it in Netscape Navigator, Only Mount Pinos Webspinners >appears on the screen. What am I doing wrong? I answered this on the list on Friday -- you may not have read the response. I'll send you a personal copy this time. (Hint: answers most often come to the list, not to the individual.) Well, you're not "Mount Pinos Webspinners", so you might want to replace this with your name. <grin> But, you didn't tell us where this page is loaded on the server so we can look and see if there's something wrong with your coding. The SSI code you've included in your question is correct. My best guess in the absence of any documentation is that you're trying to view a local copy of the page from your hard drive. The date is inserted by the server when it delivers the page to the browser. (That's why they're called *server-side includes*.) So, the only way to see this working is to upload your page to the server & then view it from there. Regards, Elsi