Regular expression for validating email address

A simple regular expression (regex) for validating email address using PHP which I used mostly on my web apps. I love being a Web developer and it’s been a lot of fun — this is one of them [php]<?php function validateEmail($email) { if (ereg("^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@+([_a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]{2,200}\.[a-zA-Z]{2,6}$", $email)) { return true; } else { return false; } } ?>[/php] Usage: [php]<?php if (validateEmail($email))…

Read More »

How to: Sony Ericsson P990i as USB modem on CentOS

Sony Ericsson P990i is a smartphone and the successor of Sony Ericsson P910. The phone uses the UIQ 3 software platform, which is based upon Symbian OS 9.1 link. Sony Ericsson P990i technical specifications (network related only): [*] GSM 900 / 1800 / 1900 [*] UMTS 2100 [*] GPRS Class 10 (4+1/3+2 slots), 32 – 48 kbps [*] 3G, 384…

Read More »

Windows Vista Ultimate 64 bit crashed on fresh install

This is my first experience doing Windows Vista Ultimate 64 bit live fresh install. Please bear with me. The machine specification: Processor: AMD X2 4200+ with stock cooler + Artic Cooling MX2 Motherboard: Abit AN9-32X with latest bios update RAM: 4 x 1GB Team Elite PC6400 Graphic Card: XFX 8600 GT XXX Harddisks: Western Digital Caviar 320GB SATA II +…

Read More »

Fake Traffic Generator

Boost your website ranks with this Fake Traffic Generator Fake Traffic Generator a unique script that brings massive traffic to your website. Features: [*] the script works instantly, result is visible on your site statistics application. [*] can be run from browser or cron job*. [*] easy configuration. Price: FREE! Download: here.

Read More »

How to enable iconv on CPanel server?

The iconv API is the standard programming interface for converting character strings from one character encoding to another in Unix-like operating systems. All recent Linux distributions contain a free implementation of iconv() as part of the GNU C Library which is the C library for current Linux systems. To use it, the GNU glibc locales need to be installed, which…

Read More »