Posted in July 12, 2010 ¬ 6:04 amh.mahesh
PHP email validation
function checkEmail($email)
{
$pattern = “^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$”;
if (eregi($pattern, $email))
{
return true;
}
else
{
return false;
}
}
Read the rest of this entry »
Apache, phpcheck email validity, email validation, email validation in php, email validation PHP, php email validation, php email validation code, php email validation function, php email validation preg_match, php email validation regex, php email validation regular expression, php email validation script
Posted in February 5, 2009 ¬ 4:19 pmh.hiteshinde
In an unusual move, software giant Microsoft has entered into a multi-year, multi-phase agreement with open source software developer Zend Technologies to ensure that the popular Web development language PHP runs as well under Windows as it does on Linux and other platforms.
The move is a rare bow to the open source community from Microsoft, [...]
Read the rest of this entry »
Posted in February 5, 2009 ¬ 4:18 pmh.hiteshinde
Last week, we had project where we have to install and customize the new osCommerce 2.2rc2a on one of our client server having php5 and apache 2.2
The problem here is that the apache 2.2 by default does not takes the long arrays that is $HTTP_GET_VARS, $HTTP_POST_VARS
Read the rest of this entry »
Posted in February 4, 2009 ¬ 1:11 pmh.hiteshinde
Introduction
One of the most frequent questions posted in the Apache Server forum is “How can I change my dynamic URLs to static URLs using mod_rewrite?” So this post is intended to answer that question and to clear up a very common misconception.
Mod_rewrite cannot “change” the URLs on your pages
First, the misconception: Mod_rewrite cannot be [...]
Read the rest of this entry »