Set Timezone


Sometimes, when you using date or mktime function in php, it will show you a funny message regarding timezone. This is one of the way to solve it. Set timezone for your server. A list of supported timezone can be found here

  1. SetEnv TZ Europe/Amsterdam

 

Was dit antwoord nuttig?

 Print dit artikel

Gerelateerde artikelen

.htaccess RewriteRule Examples

Example 1 Original URL: http://www.domain.com/product.php?id=15 Rewritten URL:...

Block Bad Bots and Spiders using .htaccess

Below is a useful code block for blocking a lot of the known bad bots and site rippers currently...

Redirect non-www to www over http and https

Use the following .htaccess code to redirect non-www URLs to www over http and https...