News categories

Archives

Thomas Hambach - Web engineer

Archive for February, 2008

hostgator upgrades all their servers to PHP & MySQL 5

I was very pleased to receive an e-mail from hostgator today, in which they stated that they will be upgrading all servers to have MySQL 5 and PHP 5 installed by default! I hope this will send out a message to the other hosting firms, which would finally allow us to start using PHP5 in all our opensource projects.

Read the rest of this entry »

So far, no comments has/have been added
Click here to add your comment

Microsoft boycots adsense

The title may be a bit too harsh, but it still remains a funny sight! Using the latest anti-phishing, the google adsense page is being blocked by Internet Explorer 7. You are recommended not to continue - and perhaps to use live search instead, we all know it’s better anyway!

Microsoft boycots adsense

So far, 2 comments has/have been added
Click here to add your comment

always_populate_raw_post_data disabled? here’s a workaround

Since HostGator does not support changing the value of always_populate_raw_post_data in PHP to “1″, I had to find a work around. After spending an hour Googling my issue and it turning zero-dot-zero results I was forced into being creative.

Appearantly you can use the input wrappers to go around this setting. Perhaps you could find this useful in the future

0<php
1 if(!$HTTP_RAW_POST_DATA){
2      $HTTP_RAW_POST_DATA = file_get_contents(’php://input’);
3      if(empty($HTTP_RAW_POST_DATA))
4      {
5           // die here
6      }
7 }
8

So far, no comments has/have been added
Click here to add your comment

Close
E-mail It