Anyone Know How To Use A .htaccess To Change The Server's Time And Date?.. External image (may be gone)
.htaccess
Started on the old forum in October 2007 · view the original in the archive · old links redirect here
SetEnv TZ "Europe/London" Works :-)
oh thats great . my sites been 2 hours ahead for months lmao . woo hoo thanks
pmpl no one has this tool External image (may be gone) but we do chris lol
Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!
SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…
My copy and paste from: http://www.modwest.com/help/kb5-258.html External image (may be gone)
There are at least 2 ways to cause PHP to behave as if it was in the timezone of your choice.
-
Follow this other FAQ to change timezone for your entire account.
-
If you only want particular PHP scripts (and not shell or other cgi scripts) to use a specific timezone, set the timezone environmental variable in your PHP code like so:
<?
echo "Original Time: ". date("h:i:s")."\n";
putenv("TZ=US/Eastern");
echo "New Time: ". date("h:i:s")."\n";
?>
If you put the line putenv("TZ=US/Eastern"); in a file that is include()'ed by all your other PHP scripts, then all your PHP scripts will use that timezone.
A list of timezones to choose from, other than "US/Eastern" for your putenv() is here:
Advertise your mobile site for FREE with AdTwirl
thank you GumSlone
helpful thingy External image (may be gone)
It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!