PHP is shifting into a mayor coding method, from procedural scripting to object oriented scripting, Class is one of the most important aspect your need to learn to take advantage of this shifting. PHP is not the same as it was before since PHP 4+. Resource: Hello World Class Over the years I found myself […]
Category: Tutorials
Browscap.php – how to use it!

The Browscap.php is a powerful code but it has some minor things easy to fix in order to work properly with your PHP5 scripting.

Preparing your new Ubuntu 12.10 computer for web developing can be intimidating, especially if you are not used to Ubuntu or Linux environment, as I am. There’s a lot of help from the community but sometimes they are kind of rough when someone like me ask a noob question, but hey!… at least they answer […]

There are many ways that you can control how variables are accessed in your Class. The most common is using Constants but the problem is that constants are public an can be accessed using: echo FOO::CONSTANT; Let say you want to have more control of your variables. One way you can do this is a […]
Data Injection
Database Injection alert has become a pain in the back lately, after the resent SQL injection against MySQL main website, I start researching about Data Injection myself and I found a lot information that might be helpful for many my fellow designers and coders. What’s A Data Injection? If it’s the first time you heard about […]
Wow, I’ve been trying to do this for almost a week and a half and finally I got it. I Google it!, StackOver it and nothing gave me to possibilities to have my localhost Windows Vista IIS7 with the latest ImageMagick Q16 and PHP extension working properly. But know I have my IIS7 PHP running […]
RegExp Filter For URL’s
I was trying to get a nice short Regular Expression to filter and validate the url’s entered by an user in an form, and finally I come up with one that you can use as your first pass filter that its been working fine for me. It’s not a perfect one, but at least filter […]
I was searching for this for very long and didn’t really found something useful unless using a JavaScript framework, but for those who want to learn to code from scratch this is the answer. First you have to get the element that triggers an event. example: HTML <div id=”hello” onclick=”getId();”></div> <!– in Firefox is necessary to include […]
Problems Processing Strings With JS
http://www.w3schools.com/jsref/jsref_escape.asp
How to avoid keying to many times the statement document.getElementById in your JavaScript projects.