use the following method to redirect the site with www RewriteEngine On RewriteCond %{HTTP_HOST} !^www. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
Category: Others
send mails using socialengine
sentMailConfirmation = Engine_Api::_()->getApi(‘mail’, ‘core’)->sendSystem( $filteruserEmailTo, $mailType, $mailParams, $fromaddress );
Placeholder positioning
::-webkit-input-placeholder { text-align:center; } :-moz-placeholder { /* Firefox 18- */ text-align:center; } ::-moz-placeholder { /* Firefox 19+ */ text-align:center; } :-ms-input-placeholder { text-align:center; }
sachin tendulakar’s last moments in cricket
Sachin circket era is end up with an incredible test victory at Mumbai Wangade stadium. We salute the legend of cricket,the god of cricket. He is a man with cute smile in his face always. The real gentle man with great talent. The people knows him beyond the cricket as real human. sachin is always…
How to simply create a zend framework project?
I’m writing this tutorial based on LAMP(Linux Apache Mysql PHP) development environment. You can create sample php zendframework project using terminal. For that type the following command smart@smarttips-System-Product-Name:~$ zf crate project /var/www/testzend If this package is not previously installed then will show this message The program ‘zf’ is currently not installed. You can install it…