Archive for the ‘Apache’ Category

PHP Email Validation

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 »

Microsoft and open source developer Zend have entered a multi-year, multi-phase partnership to make sure Web deployment language PHP runs as well on Windows as Linux.

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 »

.htaccess settings for osCommerce 2.2 on LAMP Architecture

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 »

Changing dynamic to static URLs

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 »
 

Switch to our mobile site