Archive for February, 2008
hostgator upgrades all their servers to PHP & MySQL 5
February 13th, 2008 • 1 comment php, random
Tags: hostgator, mysql5, php5, webhosting
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.
Microsoft boycots adsense
February 11th, 2008 • 2 comments google, microsoft, random
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!
always_populate_raw_post_data disabled? here’s a workaround
February 11th, 2008 • 2 comments php, snippets
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
[snippet]<php
if(!$HTTP_RAW_POST_DATA){
$HTTP_RAW_POST_DATA = file_get_contents(‘php://input’);
if(empty($HTTP_RAW_POST_DATA))
{
// die here
}
}
[/snippet]

