Email Image.. and Zend Studio rocks.

I’m still just poking at Zend Studio. It’s pretty damn cool and I havn’t even figured out how to use it correctly. The code completion is very well done. It doesn’t skrew me up like most other editors have. I’m also thorughly enjoying how it automaticly runs through the rest of my code so when I go to use a function or class I’ve scripted earlier in the project it pops up with the code completion information. It seems to do everything except put the semicolons at the end of the lines. heh.

Today I made a little Email Image creator. I’m sure it’s not 100% flawless since it’s only about 40 lines of PHP I sneazed out in a couple minutes playing with Zend Studio. More messing around with the GD Library in PHP. All it does is take your email address and put it into an image so it can’t just be spidered by a text bot. It wouldn’t be difficult to OCR it but that’s not realy the point. After you make the image you just link to the url it created. I made a little random serial number generator so the serial numbers in the link arn’t obvious to browse through. The emails and serial number assocations are kept in a mysql table with just two fields (serial, email). Keepin it simple. If anything fails it creates this image:

Here is mine:

Type in your email address and make your own.

note: I also added a little detail to make sure the same email isn’t registered twice and I employed mod re-write to make the image url’s clean.

Recent Entries

Leave a Reply