more on portfolio









August 2008
M T W T F S S
« May «-»  
 123
45678910
11121314151617
18192021222324
25262728293031






 

Display Roman Numbers in CSS

Log entry of May 5th 2008 05:09:36 am
Filed under: CSS/HTML, Snippets
Yesterday was in PHP, but I figured, what happen if you need a simple solution for displaying roman numbers? Well… you can use CSS instead.

this is an example of using upper-roman in css. …and this is an example of using lower-roman. …

Convert to Roman numbers in PHP

Log entry of May 4th 2008 05:51:24 pm
Filed under: PHP, Snippets
Here’s a nifty coding which I’ve found on the net on displaying Roman number like I II III IV etc.

<?php // A function to return the Roman Numeral, given an integer private function numberToRoman($num) { // Make sure that we only use the integer portion of the value $n = intval($num); $result = ”; // Declare a lookup array that we will use to traverse the number: $lookup = array(’M’ => 1000, ‘CM’ => 900, ‘D’ => 500, …

BlogSticker: Spread and Use Firefox

Log entry of May 3rd 2008 08:11:32 am
Filed under: CSS/HTML, FF Affiliation Program, FireFox, Snippets, Software
On the top right corner, the “Spread and Use Firefox” thingy… that is a blogsticker. And Blogsticker Rocks!

At Www.blogsticker.Net, there are tons of cool sticker you can find and use on the website. Yesterday while browsing it’s category, I even saw a sticker that says “Proud to be Gay”! Man…. I wonder who would use that.

Anyway, something about the whole “Rocks!” just don’t add up when you use …

How to: Hide file extension using Mod Rewrite

Log entry of May 2nd 2008 05:21:00 am
Filed under: .HTAccess, Codes Related, How To, Snippets
Mod Rewrite is one of the few solutions which we use to avoid spammers and SQL injection from taken place. And today, I’m going to share with you a few tips and tricks on it. Credits goes to Roshan for an awesome tutorial on his website.

What do we need for Mod Rewrite to work? Mod_rewrite module loaded on the Apache server. A .htaccess file created on your server root.
To check …

How to: Fix the 46 dashboard.php error in WP 2.5.0

Log entry of April 27th 2008 01:56:24 am
Filed under: Engines, Featured Plugins, How To, Snippets, Software, Wordpress, Wordpress Hacks, Wordpress Related
This how to was suppose to release yesterday but since a special announcement take over, it’s was forwarded to today. The article below is quite useless now since WordPress is at version 2.5.1 but I just let this one go just for general info.

Anyway…
I’ve been encountering this line error a few times when I tried to migrate …


« Older Entries