Daily Archives: January 10, 2009

css visibility property: display vs visibility

Share Tip: Even invisible elements takes up space on the page. Use the “display” property to create invisible elements that do not take up space. source: http://www.w3schools.com/CSS/pr_class_visibility.asp

Posted in css | Tagged , | Leave a comment

php:levenshtein()

Share levenshtein (PHP 4 >= 4.0.1, PHP 5) levenshtein — Calculate Levenshtein distance between two strings Description int levenshtein ( string $str1 , string $str2 ) int levenshtein ( string $str1 , string $str2 , int $cost_ins , int $cost_rep … Continue reading

Posted in php | Tagged , | Leave a comment

Installing a PHP extension on windows

Share Installing a PHP extension On Windows, you have two ways to load a PHP extension: either compile it into PHP, or load the DLL. Loading a pre-compiled extension is the easiest and preferred way. To load an extension, you … Continue reading

Posted in windows | Tagged , | Leave a comment

pdflib: php4 vs php5

ShareBefore using pdflib make sure to check what version of php u have coz there’s a difference how the function are being called between these versions. You might get one of these error if you have php5 and using the … Continue reading

Posted in softwares | Tagged , | 1 Comment

iframes: Different ways to access it

ShareDifferent ways how to access iframes: document.getElementById(‘testiframe2′).src document.getElementById(‘testiframe2′).location.href frames['testiframe2'].src frames['testiframe2'].location.href frames[1].location.href frames[1].window.location.href frames['testiframe2'].window.location.href target=”testiframe2″ (loads only page2, not page1) Check out http://www.quirksmode.org/js/iframe.html for detailed explanation.

Posted in dom, html | Tagged , | Leave a comment