Categories
Resources Tips Tutorials

Installing Apache, PHP and MySQL in Ubuntu 12.10

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 […]

Categories
Tutorials

Controlling How Your Variables Are Handled In a PHP Class

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 […]

Categories
Tutorials

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 […]

Categories
Tips Tutorials

Setting Up ImageMagick 6.7.4.6 Q16 in Windows Vista x64 SP2 with IIS7 and PHP 5.3 Imagick Extension

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 […]

Categories
Tutorials

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 […]

Categories
Tutorials

Getting the ID of an element with plain JavaScript

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 […]

Categories
Tutorials

Problems Processing Strings With JS

http://www.w3schools.com/jsref/jsref_escape.asp

Categories
Tutorials

Making your own Scriptaculous style coding

How to avoid keying to many times the statement document.getElementById in your JavaScript projects.

Categories
App Reviews Tutorials

Creating Glass Effect Never Have Been Easier

Before Inkscape, when I want to create or design real nice glass effect in an object I combined two expensive software, Adobe Photoshop and Illustrator.