PHP and HTML redirects

PHP and HTML redirects

If you do not wish to use the .htaccess file to redirect your visitors, you can use another option – a PHP or an HTML file which will perform the actual redirection. Below are examples for both programming languages: For … Continued
How to change the timezone for a single PHP file?

How to change the timezone for a single PHP file?

You can set a specific timezone for a PHP script using the following function which should be added to the PHP file: putenv(“TZ=US/Central”); This is just an example. The full list of supported timezones is available here. You should simply replace “US/Central” with … Continued
How to check which PHP version is running on my account?

How to check which PHP version is running on my account?

In order to check exactly which PHP version is used for a certain folder, you should create a simple php info file (for example phpinfo.php) in it. The file should contain only the following code: <?php phpinfo(); ?> You can create … Continued