Archive | General RSS feed for this section

9 Types of Useful CSS Hacks

The most common problem of the front end web developers or designers is having their output looks and behave the same to different browsers. One of the solutions is using CSS hacks to apply different rules in a specific browser. A CSS hack is simply an ugly and inelegant way of getting a browser to [...]

Read more
10 Promising Opensource PHP E-Commerce Application

10 Promising Opensource PHP E-Commerce Application

A roundup of the most promising opensource PHP e-Commerce Application around the web.

Read more
25 OpenSource PHP Framework

25 OpenSource PHP Framework

PHP Framework nowadays is getting more popular to web application developers who uses PHP as their main language. A web application framework is a software framework that is designed to support the development of dynamic websites, Web applications and Web services. The framework aims to alleviate the overhead associated with common activities used in Web [...]

Read more

The Lost Maugrim The Reaper’s Blog – Astrum Futura

Blog.astrumfutura.com is one of my personal top visited site. I cant stop to visit it almost every 2 hours a day or much more often. Especially by the time when the author Padraic Brady featured a series of his Zend Framework Blog Tutorial. Its a very detailed tutorial about building a blog application from scratch [...]

Read more

Javascript Is Numeric function

function is_numeric(value){ return !!isNaN(value); } Example: if(!is_numeric(’1234five’)){ alert(‘Please enter only numeric value!’); }

Read more

Javascript Digit Grouping function

function digit_grouping(nStr){ nStr += ”; x = nStr.split(‘.’); x1 = x[0]; x2 = x.length > 1 ? ‘.’ + x[1] : ”; var rgx = /(\d+)(\d{3})/; while (rgx.test(x1)) { x1 = x1.replace(rgx, ‘$1′ + ‘,’ + ‘$2′); } return x1 + x2; } Example: price = digit_grouping(3754); alert(price); //Result: 3,754

Read more

Javascript Trim function

function trim(s){ return s.replace(/^\s*(.*?)\s*$/,”$1″); }

Read more

Check URL Exists in PHP

<?php function url_exists($url) { $handle = curl_init($url); if (false === $handle) { return false; } curl_setopt($handle, CURLOPT_HEADER, false); curl_setopt($handle, CURLOPT_FAILONERROR, true); curl_setopt($handle, CURLOPT_NOBODY, true); curl_setopt($handle, CURLOPT_RETURNTRANSFER, false); $connectable = curl_exec($handle); curl_close($handle); return $connectable; } $url = ‘http://insicdesigns.com/’; if(url_exists($url)){ echo ‘true’; }else{ echo ‘false’; } ?> Output is true

Read more

Philippine Provinces in csv

“ABR”,”Abra” “AGN”,”Agusan del Norte” “AGS”,”Agusan del Sur” “AKL”,”Aklan” “ALB”,”Albay” “ANT”,”Antique” “APA”,”Apayao” “AUR”,”Aurora” “BAS”,”Basilan” “BAN”,”Bataan” “BTN”,”Batanes” “BTG”,”Batangas” “BEN”,”Benguet” “BIL”,”Biliran” “BOH”,”Bohol” “BUK”,”Bukidnon” “BUL”,”Bulacan” “CAG”,”Cagayan” “CAN”,”Camarines Norte” “CAS”,”Camarines Sur” “CAM”,”Camiguin” “CAP”,”Capiz” “CAT”,”Catanduanes” “CAV”,”Cavite” “CEB”,”Cebu” “COM”,”Compostela Valley” “NCO”,”Cotabato” “DAV”,”Davao del Norte” “DAS”,”Davao del Sur” “DAO”,”Davao Oriental” “DIN”,”Dinagat Islands” “EAS”,”Eastern Samar” “GUI”,”Guimaras” “IFU”,”Ifugao” “ILN”,”Ilocos Norte” “ILS”,”Ilocos Sur” “ILI”,”Iloilo” “ISA”,”Isabela” “KAL”,”Kalinga” [...]

Read more

Countries in csv

Country code, Country Name “af”,”Afghanistan” “al”,”Albania” “dz”,”Algeria” “as”,”American Samoa (US)” “ad”,”Andorra” “ao”,”Angola” “ai”,”Anguilla (UK)” “ag”,”Antigua and Barbuda” “ar”,”Argentina” “am”,”Armenia” “aw”,”Aruba” “au”,”Australia” “at”,”Austria” “az”,”Azerbaijan” “bs”,”Bahamas” “bh”,”Bahrain” “bd”,”Bangladesh” “bb”,”Barbados” “by”,”Belarus” “be”,”Belgium” “bz”,”Belize” “bj”,”Benin” “bm”,”Bermuda (UK)” “bt”,”Bhutan” “bo”,”Bolivia” “ba”,”Bosnia and Herzegovina” “bw”,”Botswana” “br”,”Brazil” “vg”,”British Virgin Islands (UK)” “bn”,”Brunei Darussalam” “bg”,”Bulgaria” “bf”,”Burkina Faso” “bi”,”Burundi” “kh”,”Cambodia” “cm”,”Cameroon” “ca”,”Canada” “cv”,”Cape Verde” [...]

Read more