August 2008

Setting right timezone on your PHP.

How do I offset the Timezone for my location, instead of the server timezone?

First of all, setting the timezone at .htaccess level using “SetEnv TZ location” doesn’t work on your php script.

If you are using PHP 5.1 and ealier, add this code within your php

putenv(‘TZ=Europe/London’);   /* change the TZ value accordingly. */

If you are using PHP 5.1 up, add this code within your php script.


date_default_timezone_set(‘Europe/London’);

Email marketing restrictions on Dedicated server.

While you are given “unlimited” email/cpu usage on a dedicated server, however, there are underlying restriction that is not commonly disclose before you signup. The following rules applies to most dedicated server (specific non virtual dedicated).

If your hosting provider receive spam complaints from an organization like AOL, SpamCop or others, they must take action to warn the customer about these complaints so they do not continue to occur.

The upstream provider will not allow hosting providers to host someone who receives continual spam complaints as this affects the entire IP network. A good hosting service provider do care about users having non-blacklisted email services, so, they must take action if they receive too many complaints for spam on any server.

Check out our list of good dedicated hosting services.

Domain ownership with free domain sign-up.

Question :-

If I signed up for a year with Hostmonster, and used their free domain feature to register my domain, does that mean they actually own this domain?

I checked whois and Hostmonster is listed as the owner. Does this mean I cannot switch to another host and own this domain? And when my hosting plan runs out with Hostmonster, the domain is no longer mine?

Answer :-

Hostmonster is only listed as the owner if you have privacy turned on. Turn privacy off and it will list you as the owner. Hostmonster is also a domain registrar, just like all other domain registrars. You can host that domain anywhere you like, or you can move the domain to a different registrar. It’s not “tied” to Hostmonster in any way.

Next »