Almost a year ago I posted something about the verot.net upload class. Now I’m learning Zend Framework and ZF doesn’t support image manipulation I’d like to add the upload class to ZF. Here’s how.

Step 1

Download the latest release of Upload Class from Colin Verot’s blog. Continue Reading »

I’m very happy that a lot of developers have found my cvLinkSelect class and found it useful. cvLinkSelect is a simple Mootools 1.2 class that links form select elements based on the previous value via JSON requests. The php part was very basic though and a visitor pointed me to write the php part better, shorter and more functional. And here we are, just a simple 10 line php function.

In most cases you’ll get the data from a SQL database or something like that and in therefore it’s an array.

/* $arr = array from the database */
$arr = array(//array(id,name),
			 	array(15,'15 inch'),
				array(17,'17 inch'),
				array(19,'19 inch')
			);

Continue Reading »

getA while ago I was figuring out how to rewrite GET variables for a wordpress plugin. For example:

http://mysite.com/mypage/?myvar=test

rewriting to

http://mysite.com/mypage/test

After a long search on the WordPress forums and the whole internet I’ve found this topic: using an extra parameter in an URL but it wasn’t very sufficient in my opinion. So that’s why I’ll explain the use of multiple parameters in the url.
Continue Reading »

Top of Page