Current location: Hot Scripts Forums » Programming Languages » PHP » Two very simple questions


Two very simple questions

Reply
  #1 (permalink)  
Old 12-04-05, 12:40 PM
xxvatarxx xxvatarxx is offline
Wannabe Coder
 
Join Date: May 2005
Posts: 212
Thanks: 0
Thanked 0 Times in 0 Posts
Two very simple questions

2 simple questions, if i use the following script in my footer which is then included onto all my pages, will it only tell me when the footer was last updated or the page it has been included onto?
Code:
<?php
//displays the time/date a page was last modified
echo "Last modified on: " . date("D m/d/Y h:i:s", filemtime( $PATH_TRANSLATED ));
?>
Also how do i alter the time so it differs from the time of my server?
Reply With Quote
  #2 (permalink)  
Old 12-04-05, 12:48 PM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 8,075
Thanks: 11
Thanked 88 Times in 83 Posts
Of the "$PATH_TRANSLATED" file. Whatever this is in your case!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Really **wonderful** website for C interview questions!!!!! raja_narayan_2005 General Advertisements 7 05-07-11 03:09 PM
Simple Script Required For Simple Man thebigman PHP 6 01-06-07 12:04 AM
Really **wonderful** website for C interview questions!!!!! raja_narayan_2005 C/C++ 0 06-22-05 01:30 AM
Questions Script ... gillweb Job Offers & Assistance 0 02-08-05 02:14 PM
Simple Script NEEDED ASAP - $$$$ legante Script Requests 0 11-01-04 03:18 PM


All times are GMT -5. The time now is 06:22 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.