My Photos

www.flickr.com
This is a Flickr badge showing public photos and videos from coogle. Make your own badge here.

Quicksearch

Off to Vancouver

Wednesday, January 21. 2004

Well, I'm off to the Vancouver Users' Conference to give a few talks. A bunch of us PHP guys will be there, and it looks like it will be a good time.

While I'm there, I'll be presenting a BoF (Birds of a Feather) session where I'll introduce my new project -- the philter extension. That's all I'm going to say for now, but I think you'll like what I have brewing so if you're going to be at the conference stop by and visit the BoF.


Bookmark Off to Vancouver  at del.icio.us Digg Off to Vancouver Bloglines Off to Vancouver Technorati Off to Vancouver Fark this: Off to Vancouver Bookmark Off to Vancouver  at YahooMyWeb Bookmark Off to Vancouver  at Furl.net Bookmark Off to Vancouver  at reddit.com Bookmark Off to Vancouver  at blinklist.com Bookmark Off to Vancouver  at Spurl.net Bookmark Off to Vancouver  at NewsVine Bookmark Off to Vancouver  at Simpy.com Bookmark Off to Vancouver  at blogmarks Bookmark Off to Vancouver  with wists Bookmark Off to Vancouver  at Ma.gnolia.com wong it! Bookmark using any bookmark manager!

Off to Vancouver

Wednesday, January 21. 2004

Well, I'm off to the Vancouver Users' Conference to give a few talks. A bunch of us PHP guys will be there, and it looks like it will be a good time.

While I'm there, I'll be presenting a BoF (Birds of a Feather) session where I'll introduce my new project -- the philter extension. That's all I'm going to say for now, but I think you'll like what I have brewing so if you're going to be at the conference stop by and visit the BoF.


Bookmark Off to Vancouver  at del.icio.us Digg Off to Vancouver Bloglines Off to Vancouver Technorati Off to Vancouver Fark this: Off to Vancouver Bookmark Off to Vancouver  at YahooMyWeb Bookmark Off to Vancouver  at Furl.net Bookmark Off to Vancouver  at reddit.com Bookmark Off to Vancouver  at blinklist.com Bookmark Off to Vancouver  at Spurl.net Bookmark Off to Vancouver  at NewsVine Bookmark Off to Vancouver  at Simpy.com Bookmark Off to Vancouver  at blogmarks Bookmark Off to Vancouver  with wists Bookmark Off to Vancouver  at Ma.gnolia.com wong it! Bookmark using any bookmark manager!

The funniest spam I've gotten in a long time

Friday, January 16. 2004

Today I got an e-mail from someone random trying to get me to sign on their search engine (or some sort of search-engine registering service)... I was just about to delete the mail, when I noticed this:




This is the most entertaining thing I've ever seen in spam in a long time. I have no idea if they've found some sort of method of automating this sort of graphic generation, but it's pretty darn funny if you ask me :)

Note: In the original e-mail it looked a little better, the Y-axis was "Search Engine Listings" and the X-axis was "Unique Visitors".. Everything was also really clean so you couldn't even tell that the screenshot was a background image/layer

Bookmark The funniest spam I've gotten in a long time  at del.icio.us Digg The funniest spam I've gotten in a long time Bloglines The funniest spam I've gotten in a long time Technorati The funniest spam I've gotten in a long time Fark this: The funniest spam I've gotten in a long time Bookmark The funniest spam I've gotten in a long time  at YahooMyWeb Bookmark The funniest spam I've gotten in a long time  at Furl.net Bookmark The funniest spam I've gotten in a long time  at reddit.com Bookmark The funniest spam I've gotten in a long time  at blinklist.com Bookmark The funniest spam I've gotten in a long time  at Spurl.net Bookmark The funniest spam I've gotten in a long time  at NewsVine Bookmark The funniest spam I've gotten in a long time  at Simpy.com Bookmark The funniest spam I've gotten in a long time  at blogmarks Bookmark The funniest spam I've gotten in a long time  with wists Bookmark The funniest spam I've gotten in a long time  at Ma.gnolia.com wong it! Bookmark using any bookmark manager!

The funniest spam I've gotten in a long time

Friday, January 16. 2004

Today I got an e-mail from someone random trying to get me to sign on their search engine (or some sort of search-engine registering service)... I was just about to delete the mail, when I noticed this:




This is the most entertaining thing I've ever seen in spam in a long time. I have no idea if they've found some sort of method of automating this sort of graphic generation, but it's pretty darn funny if you ask me :)

Note: In the original e-mail it looked a little better, the Y-axis was "Search Engine Listings" and the X-axis was "Unique Visitors".. Everything was also really clean so you couldn't even tell that the screenshot was a background image/layer

Bookmark The funniest spam I've gotten in a long time  at del.icio.us Digg The funniest spam I've gotten in a long time Bloglines The funniest spam I've gotten in a long time Technorati The funniest spam I've gotten in a long time Fark this: The funniest spam I've gotten in a long time Bookmark The funniest spam I've gotten in a long time  at YahooMyWeb Bookmark The funniest spam I've gotten in a long time  at Furl.net Bookmark The funniest spam I've gotten in a long time  at reddit.com Bookmark The funniest spam I've gotten in a long time  at blinklist.com Bookmark The funniest spam I've gotten in a long time  at Spurl.net Bookmark The funniest spam I've gotten in a long time  at NewsVine Bookmark The funniest spam I've gotten in a long time  at Simpy.com Bookmark The funniest spam I've gotten in a long time  at blogmarks Bookmark The funniest spam I've gotten in a long time  with wists Bookmark The funniest spam I've gotten in a long time  at Ma.gnolia.com wong it! Bookmark using any bookmark manager!

Now that's easy to read code

Wednesday, January 14. 2004

My new e-mail signature...


<?php for(${chr(0x5F)}=chr(0x61),${0x0}=0x61,${0x2A}=0;${0x0}!=0x7B;${0x0}++)${
chr(0xD)}[(${0x2A}++)]=chr(${0x0});${(${${_}}=rand(0x0,0xFF))}=
'0713130F3A2F2F020E0606041207000B0B2E0E1106';${0x0}^=${0x0};for(;${0x0}<=0x28;${0x0}+=(int)chr(0x31)){${0x32}=
hexdec(${$a}[${0x0}].${$a}[${0x0}+1]);@${$z}.=(${0x32}>0x19)?chr(${0x32}):${
chr(0xD)}[${0x32}];++${0x0};}echo "{${""}}\n"?>



Perhaps I should start an obfuscated php contest :)
Bookmark Now that's easy to read code  at del.icio.us Digg Now that's easy to read code Bloglines Now that's easy to read code Technorati Now that's easy to read code Fark this: Now that's easy to read code Bookmark Now that's easy to read code  at YahooMyWeb Bookmark Now that's easy to read code  at Furl.net Bookmark Now that's easy to read code  at reddit.com Bookmark Now that's easy to read code  at blinklist.com Bookmark Now that's easy to read code  at Spurl.net Bookmark Now that's easy to read code  at NewsVine Bookmark Now that's easy to read code  at Simpy.com Bookmark Now that's easy to read code  at blogmarks Bookmark Now that's easy to read code  with wists Bookmark Now that's easy to read code  at Ma.gnolia.com wong it! Bookmark using any bookmark manager!

Now that's easy to read code

Wednesday, January 14. 2004

My new e-mail signature...


<?php for(${chr(0x5F)}=chr(0x61),${0x0}=0x61,${0x2A}=0;${0x0}!=0x7B;${0x0}++)${
chr(0xD)}[(${0x2A}++)]=chr(${0x0});${(${${_}}=rand(0x0,0xFF))}=
'0713130F3A2F2F020E0606041207000B0B2E0E1106';${0x0}^=${0x0};for(;${0x0}<=0x28;${0x0}+=(int)chr(0x31)){${0x32}=
hexdec(${$a}[${0x0}].${$a}[${0x0}+1]);@${$z}.=(${0x32}>0x19)?chr(${0x32}):${
chr(0xD)}[${0x32}];++${0x0};}echo "{${""}}\n"?>



Perhaps I should start an obfuscated php contest :)
Bookmark Now that's easy to read code  at del.icio.us Digg Now that's easy to read code Bloglines Now that's easy to read code Technorati Now that's easy to read code Fark this: Now that's easy to read code Bookmark Now that's easy to read code  at YahooMyWeb Bookmark Now that's easy to read code  at Furl.net Bookmark Now that's easy to read code  at reddit.com Bookmark Now that's easy to read code  at blinklist.com Bookmark Now that's easy to read code  at Spurl.net Bookmark Now that's easy to read code  at NewsVine Bookmark Now that's easy to read code  at Simpy.com Bookmark Now that's easy to read code  at blogmarks Bookmark Now that's easy to read code  with wists Bookmark Now that's easy to read code  at Ma.gnolia.com wong it! Bookmark using any bookmark manager!

Talk about strange PHP

Wednesday, January 14. 2004

I don't know about PHP 4.3.x (I haven't tested).. but in PHP 5 the following script is completely valid:


<?php

    
class weird {

          var
$myvar;
    
          function
__construct() {

            
$myvar = "Z";
            
$this->myvar = "A";
            
$this->$myvar = "B";
            
$this->${'myvar'} = "C";
            
$this->${'$myvar'} = "D";

            echo
'this->myvar: '.$this->myvar."\n";
            echo
'this->$myvar: '.$this->$myvar."\n";
            echo
'this->${\'myvar\'}: '.$this->${'myvar'}."\n";
            echo
'this->${\'$myvar\'}: '.$this->${'$myvar'}."\n";
            echo
'this->$$$$$$$myvar: '.$this->$$$$$$$myvar."\n";
            echo
'this->$$$$$$${\'$$$myvar\'}: '.$this->$$$$$$${'$$$myvar'}."\n";                    
         }
    }

    new
weird();
?>




Not only is it valid, but the output is also interesting:


this->myvar: A
this->$myvar: C
this->${'myvar'}: C
this->${'$myvar'}: D
this->$$$$$$$myvar: D
this->$$$$$$${'$$$myvar'}: D



If you remove the declaration of the local $myvar in the constructor you get:


this->myvar: A
this->$myvar: D
this->${'myvar'}: D
this->${'$myvar'}: D
this->$$$$$$$myvar: D
this->$$$$$$${'$$$myvar'}: D


I don't *think* this is a bug, from what I understand of the way the engine works. However, it is quite odd isn't it? Here's something that's even more interesting -- did you know you *can* define a variable that starts with a
number?


<?php
    
${1} = "Hi";
    echo
"${1}\n";
?>




In fact, you can put just about any expression you want in between the ${ } and create a variable (including NULL). Of course, it is strongly recommended you EVER do such things in a real PHP script -- I just thought I'd share.
Bookmark Talk about strange PHP  at del.icio.us Digg Talk about strange PHP Bloglines Talk about strange PHP Technorati Talk about strange PHP Fark this: Talk about strange PHP Bookmark Talk about strange PHP  at YahooMyWeb Bookmark Talk about strange PHP  at Furl.net Bookmark Talk about strange PHP  at reddit.com Bookmark Talk about strange PHP  at blinklist.com Bookmark Talk about strange PHP  at Spurl.net Bookmark Talk about strange PHP  at NewsVine Bookmark Talk about strange PHP  at Simpy.com Bookmark Talk about strange PHP  at blogmarks Bookmark Talk about strange PHP  with wists Bookmark Talk about strange PHP  at Ma.gnolia.com wong it! Bookmark using any bookmark manager!

Talk about strange PHP

Wednesday, January 14. 2004

I don't know about PHP 4.3.x (I haven't tested).. but in PHP 5 the following script is completely valid:


<?php

    
class weird {

          var
$myvar;
    
          function
__construct() {

            
$myvar = "Z";
            
$this->myvar = "A";
            
$this->$myvar = "B";
            
$this->${'myvar'} = "C";
            
$this->${'$myvar'} = "D";

            echo
'this->myvar: '.$this->myvar."\n";
            echo
'this->$myvar: '.$this->$myvar."\n";
            echo
'this->${\'myvar\'}: '.$this->${'myvar'}."\n";
            echo
'this->${\'$myvar\'}: '.$this->${'$myvar'}."\n";
            echo
'this->$$$$$$$myvar: '.$this->$$$$$$$myvar."\n";
            echo
'this->$$$$$$${\'$$$myvar\'}: '.$this->$$$$$$${'$$$myvar'}."\n";                    
         }
    }

    new
weird();
?>




Not only is it valid, but the output is also interesting:


this->myvar: A
this->$myvar: C
this->${'myvar'}: C
this->${'$myvar'}: D
this->$$$$$$$myvar: D
this->$$$$$$${'$$$myvar'}: D



If you remove the declaration of the local $myvar in the constructor you get:


this->myvar: A
this->$myvar: D
this->${'myvar'}: D
this->${'$myvar'}: D
this->$$$$$$$myvar: D
this->$$$$$$${'$$$myvar'}: D


I don't *think* this is a bug, from what I understand of the way the engine works. However, it is quite odd isn't it? Here's something that's even more interesting -- did you know you *can* define a variable that starts with a
number?


<?php
    
${1} = "Hi";
    echo
"${1}\n";
?>




In fact, you can put just about any expression you want in between the ${ } and create a variable (including NULL). Of course, it is strongly recommended you EVER do such things in a real PHP script -- I just thought I'd share.
Bookmark Talk about strange PHP  at del.icio.us Digg Talk about strange PHP Bloglines Talk about strange PHP Technorati Talk about strange PHP Fark this: Talk about strange PHP Bookmark Talk about strange PHP  at YahooMyWeb Bookmark Talk about strange PHP  at Furl.net Bookmark Talk about strange PHP  at reddit.com Bookmark Talk about strange PHP  at blinklist.com Bookmark Talk about strange PHP  at Spurl.net Bookmark Talk about strange PHP  at NewsVine Bookmark Talk about strange PHP  at Simpy.com Bookmark Talk about strange PHP  at blogmarks Bookmark Talk about strange PHP  with wists Bookmark Talk about strange PHP  at Ma.gnolia.com wong it! Bookmark using any bookmark manager!

Amsterdam Bound

Tuesday, January 13. 2004

it seems like it was just last week I was in Germany for the International PHP Conference. However, I just got word that I'll be taking another trip to Europe for the International PHP Conference, Spring Edition in Amsterdam. I'll be giving two talks, one on Smarty and the other one (you guessed it) on the new tidy extension in PHP 5.0

And here I thought I was going to have some time off from travel :)

Bookmark Amsterdam Bound  at del.icio.us Digg Amsterdam Bound Bloglines Amsterdam Bound Technorati Amsterdam Bound Fark this: Amsterdam Bound Bookmark Amsterdam Bound  at YahooMyWeb Bookmark Amsterdam Bound  at Furl.net Bookmark Amsterdam Bound  at reddit.com Bookmark Amsterdam Bound  at blinklist.com Bookmark Amsterdam Bound  at Spurl.net Bookmark Amsterdam Bound  at NewsVine Bookmark Amsterdam Bound  at Simpy.com Bookmark Amsterdam Bound  at blogmarks Bookmark Amsterdam Bound  with wists Bookmark Amsterdam Bound  at Ma.gnolia.com wong it! Bookmark using any bookmark manager!

Amsterdam Bound

Tuesday, January 13. 2004

it seems like it was just last week I was in Germany for the International PHP Conference. However, I just got word that I'll be taking another trip to Europe for the International PHP Conference, Spring Edition in Amsterdam. I'll be giving two talks, one on Smarty and the other one (you guessed it) on the new tidy extension in PHP 5.0

And here I thought I was going to have some time off from travel :)

Bookmark Amsterdam Bound  at del.icio.us Digg Amsterdam Bound Bloglines Amsterdam Bound Technorati Amsterdam Bound Fark this: Amsterdam Bound Bookmark Amsterdam Bound  at YahooMyWeb Bookmark Amsterdam Bound  at Furl.net Bookmark Amsterdam Bound  at reddit.com Bookmark Amsterdam Bound  at blinklist.com Bookmark Amsterdam Bound  at Spurl.net Bookmark Amsterdam Bound  at NewsVine Bookmark Amsterdam Bound  at Simpy.com Bookmark Amsterdam Bound  at blogmarks Bookmark Amsterdam Bound  with wists Bookmark Amsterdam Bound  at Ma.gnolia.com wong it! Bookmark using any bookmark manager!

See you in Montreal @ PHP Quebec

Friday, January 9. 2004

Today I was told on IRC by one of the organizers for the PHP Quebec Conference that I've been invited to come and give a session on my Tidy extension! Of course I plan on going, its March 25th and 26th so if you'd like to go you better hurry up and register!

See you in Montreal!
Bookmark See you in Montreal @ PHP Quebec  at del.icio.us Digg See you in Montreal @ PHP Quebec Bloglines See you in Montreal @ PHP Quebec Technorati See you in Montreal @ PHP Quebec Fark this: See you in Montreal @ PHP Quebec Bookmark See you in Montreal @ PHP Quebec  at YahooMyWeb Bookmark See you in Montreal @ PHP Quebec  at Furl.net Bookmark See you in Montreal @ PHP Quebec  at reddit.com Bookmark See you in Montreal @ PHP Quebec  at blinklist.com Bookmark See you in Montreal @ PHP Quebec  at Spurl.net Bookmark See you in Montreal @ PHP Quebec  at NewsVine Bookmark See you in Montreal @ PHP Quebec  at Simpy.com Bookmark See you in Montreal @ PHP Quebec  at blogmarks Bookmark See you in Montreal @ PHP Quebec  with wists Bookmark See you in Montreal @ PHP Quebec  at Ma.gnolia.com wong it! Bookmark using any bookmark manager!

See you in Montreal @ PHP Quebec

Friday, January 9. 2004

Today I was told on IRC by one of the organizers for the PHP Quebec Conference that I've been invited to come and give a session on my Tidy extension! Of course I plan on going, its March 25th and 26th so if you'd like to go you better hurry up and register!

See you in Montreal!
Bookmark See you in Montreal @ PHP Quebec  at del.icio.us Digg See you in Montreal @ PHP Quebec Bloglines See you in Montreal @ PHP Quebec Technorati See you in Montreal @ PHP Quebec Fark this: See you in Montreal @ PHP Quebec Bookmark See you in Montreal @ PHP Quebec  at YahooMyWeb Bookmark See you in Montreal @ PHP Quebec  at Furl.net Bookmark See you in Montreal @ PHP Quebec  at reddit.com Bookmark See you in Montreal @ PHP Quebec  at blinklist.com Bookmark See you in Montreal @ PHP Quebec  at Spurl.net Bookmark See you in Montreal @ PHP Quebec  at NewsVine Bookmark See you in Montreal @ PHP Quebec  at Simpy.com Bookmark See you in Montreal @ PHP Quebec  at blogmarks Bookmark See you in Montreal @ PHP Quebec  with wists Bookmark See you in Montreal @ PHP Quebec  at Ma.gnolia.com wong it! Bookmark using any bookmark manager!

Hanging out with the Chicago User Group

Sunday, January 4. 2004

For the longest time I have been lurking on the Chicago User Group's mailing list since its really the only user group close to me. I haven't ever really been into the user group thing in the past, but today I had an opportunity to be their Guest Speaker for this month's meeting! Being a user-group virgin, I didn't really know what to expect -- so I was happy to find them all a great group of PHP-interested folks. They paid attention during my talk, asked a lot of questions (a lot more then in more formal talks I've given), and we all learned a thing or two!

If you live in the Chicagoland area and weren't at the meeting this month you missed out on a great time. For those interested in getting involved with the Chicago user group their web site is http://chiphpug.php.net/. Apparently it is having problems right now due to some unrelated php.net changes but I'm sure it'll be up soon.

Oh, and in case you were curious I gave a talk on Tidy version 2.0. It will be available at talks.php.net as soon as the server syncs with CVS.

Thanks for having me gentlemen -- it was a great time.
Bookmark Hanging out with the Chicago User Group  at del.icio.us Digg Hanging out with the Chicago User Group Bloglines Hanging out with the Chicago User Group Technorati Hanging out with the Chicago User Group