P
Phil M
Hi all. I have am HTML web page where I upload an updated file which
is always called document.pdf. Users get there, click on the icon and
download the document.pdf.
Below the icon/link where users click to get document, is there any
way to display the datestamp of document.pdf?
ie: the document you're about to download was updated: March 2 2007
My web page file name is called index.html (page where I want the
datestamp to de displayed)
The directory where I can store scripts is called /bin
The file from which I want the datestamp to be retrieved is called
document.pdf
I searched the Internet for such a simple script but couldn't find
any. I'm not a programmer, so please bear with me. What code do I
have to paste in the index.html to display the actual datestamp of
document.html? The server is Apache 1.3.26
I was able to find the following code, but this displays the
modification date of the HTML file itself, not from another file.
<!--#config timefmt="%B %e, %Y"-->
<script type="text/javascript">
//Page Last Modified Date script- By JavaScriptKit.com
//Visit http://www.javascriptkit.com for full source code
//This notice must stay intact for use
var docmodified='<!--#echo var="LAST_MODIFIED" -->'
document.write('This page was last modified: '+docmodified)
</script>
Thanks for any suggestions!
is always called document.pdf. Users get there, click on the icon and
download the document.pdf.
Below the icon/link where users click to get document, is there any
way to display the datestamp of document.pdf?
ie: the document you're about to download was updated: March 2 2007
My web page file name is called index.html (page where I want the
datestamp to de displayed)
The directory where I can store scripts is called /bin
The file from which I want the datestamp to be retrieved is called
document.pdf
I searched the Internet for such a simple script but couldn't find
any. I'm not a programmer, so please bear with me. What code do I
have to paste in the index.html to display the actual datestamp of
document.html? The server is Apache 1.3.26
I was able to find the following code, but this displays the
modification date of the HTML file itself, not from another file.
<!--#config timefmt="%B %e, %Y"-->
<script type="text/javascript">
//Page Last Modified Date script- By JavaScriptKit.com
//Visit http://www.javascriptkit.com for full source code
//This notice must stay intact for use
var docmodified='<!--#echo var="LAST_MODIFIED" -->'
document.write('This page was last modified: '+docmodified)
</script>
Thanks for any suggestions!