Programming the new world

Programming your life and the net, one day at a time

Archives

Commented-out Code is rotting code

Posted in November 30th, 2008
Published in PHP

One of the things I really hate, and programmers should really avoid is commenting-out code. Do NOT do this!
 <?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
//curl_setopt($ch, CURLOPT_COOKIESESSION, TRUE);
curl_setopt($ch, CURLOPT_HEADER, 0);
//curl_setopt($ch, CURLOPT_COOKIEFILE, “cookiefile”);
//curl_setopt($ch, CURLOPT_COOKIEJAR, “cookiefile”);
//curl_setopt($ch, CURLOPT_COOKIE, session_name() . ‘=’ . session_id());
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_URL, ‘http://www.testingsite.com’);
$result1 = curl_exec($ch);
curl_close($ch);
?>
You all have seen code like this. Commented-out code you […]

read more from " Commented-out Code is rotting code "

Installing Ubuntu 8.10 BusyBox

Posted in November 15th, 2008
Published in Uncategorized

Hello potential lost soul,
Developers everywhere in the world love using a linux variant.
I decided to use Ubuntu 8.10 Intrepid Ibex. But during install I had a lot of troubles getting it on my system.
I always got the initramfs and the busybox console. This made installing a real problem. As my system was new and I
did […]

read more from " Installing Ubuntu 8.10 BusyBox "

Zend Framework Bug Hunting Day

Posted in November 5th, 2008
Published in PHP

Hello World,
I know it has been a while, no excuses.
But I have something important to tell the PHP community. Upcoming Saturday 08 November 2008 it is Bug hunting day. This BHD is  organized by phpBelgium and phpGG,  and sponsored by Zend, iBuildings and ServerGrove. If you would like to learn more about Zend Framework this […]

read more from " Zend Framework Bug Hunting Day "