Category Archives for "PHP"

PHP Redirect 301 permanently

You may want redirect one website to another for some reason. This article show you how to redirect a website to another using php scrips. When you do it should be more search engine friendly at any cost. PHP Redirect Code

Basically you can avoid the first line, but this would result in “302 […]


PHP date() with timezone?

How to get PHP date() with timezone?. PHP date() function returns a string formatted according to the given format string using the given integer timestamp or the current time if there are no timestamp is given. For example, you want print today’s date in Mon 27, Feb 2017. It’s very easy just follow the below […]