20 fresh and colorful CSS3 buttons

Tutorials

Here is the result of an experiment with fonts and css3 properties like text-shadow and box-shadow: [caption id="attachment_194" align="alignnone" width="607" caption="Click on this image to see a DEMO"][/caption] Click here... read more

September 2, 2009 by Mary Lou No Comments »

CSS3 big style fieldset registration form

Tutorials

Experimenting with CSS3, I created a big style registration form with rounded borders and shadow effects. The only image used is not the button, but the pen that serves as a background image for the form itself. Click on the im... read more

September 1, 2009 by Mary Lou 2 Comments »

How to list files in a directory with PHP

Development

Here's a simple way to execute the windows dir or the linux ls in PHP Windows: <?php $row = exec('dir',$output,$error); while(list(,$row) = each($output)){ echo $row, "<BR>\n"; } if($error){ echo "Error : $error... read more

September 1, 2009 by cody 1 Comment »

Calculate the number of days between two dates

Development

Here's a simple function that calculates the number of days between two dates. <?php //day's seconds = 86400 function days_between($day_i,$month_i,$year_i,$day_f,$month_f,$year_f){ $days_in_between = (mktime(0,0,0,$month_f,... read more

September 1, 2009 by cody 3 Comments »

Using MySQL transactions with PHP

Development

The following is an example of using the transactional support in MySQL. Let's assume we have two tables, USERTBL and EMAILTBL. Let's consider the innodb engine, since it's the most popular transaction storage engine. CREATE TABL... read more

September 1, 2009 by chadking 1 Comment »

Solving PHP MySQL UTF-8 issues

Development

Heres a list of actions you should do in order to get PHP + MySQL working with UTF-8: 1. Database: CREATE DATABASE db_name CHARACTER SET utf8 DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT COLLATE utf8_gene... read more

August 31, 2009 by Mary Lou No Comments »

CSS button with hover effect

Tutorials

Inspired by the nice download button on the jquery homepage I created this button with a hover effect. It uses opacity options for all browsers. You can see a demo here: JButton Demo [caption id="attachment_122" align="alignnon... read more

August 31, 2009 by Mary Lou No Comments »