Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Page Last Updated problem
Old 05-28-2006, 01:53 PM Page Last Updated problem
Novice Talker

Posts: 6
Location: Manchester, England
Trades: 0
Hello,

I have been using the following at the bottom of the pages in the website I manage:-

Last updated on <b><!--#config timefmt="%e %B, %Y"-->
<!--#echo var="LAST_MODIFIED"--></b>

I have tried various combinations of ways of doing it on a php page but can't seem to get it to work, can someone please point me in the right direction.

Thanks for your help.

Gerald
warmbells is offline
Reply With Quote
View Public Profile Visit warmbells's homepage!
 
 
Register now for full access!
Old 05-28-2006, 02:22 PM Re: Page Last Updated problem
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Why???

If the page is scripted with PHP the last modified date is right now!
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-28-2006, 02:32 PM Re: Page Last Updated problem
Novice Talker

Posts: 6
Location: Manchester, England
Trades: 0
The major part of the pages are in html and if I update the content of the page and uplaod to the server I want to show the date that it was 'updated'
warmbells is offline
Reply With Quote
View Public Profile Visit warmbells's homepage!
 
Old 05-28-2006, 08:16 PM Re: Page Last Updated problem
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,918
Name: Keith Marshall
Location: Connecticut
Trades: 0
I have used the following:
PHP Code:
echo date('r'filemtime(__FILE__)); 
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Old 05-29-2006, 04:10 AM Re: Page Last Updated problem
Novice Talker

Posts: 6
Location: Manchester, England
Trades: 0
Thanks, just what I needed. I've now put on the page

Last updated on <STRONG>
<?php echo date('d F Y', filemtime(__FILE__)); ?></STRONG>

as I don't need the time to be shown.
warmbells is offline
Reply With Quote
View Public Profile Visit warmbells's homepage!
 
Reply     « Reply to Page Last Updated problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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





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



Page generated in 0.20918 seconds with 12 queries