1. Redirect to a secure https connection
If you want to redirect your entire site to a secure https connection, use the following:
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Posted in LAMP, Open source, Web, php - mysql on August 11, 2009 | 1 Comment »
1. Redirect to a secure https connection
If you want to redirect your entire site to a secure https connection, use the following:
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Posted in Open source, Web, php - mysql on March 4, 2009 | 2 Comments »
Building traffic to your website is not an easy task. “If you build it, they will come” concepts work only for movies and it does not work with your website. A well designed website is just the first step in your internet business venture. Driving traffic to your website takes Knowledge, proper [...]
Posted in Open source, Web, php - mysql, php news on August 6, 2008 | Leave a Comment »
1. Unvalidated Parameters
Most importantly, turn off register_globals. This configuration setting defaults to off in PHP 4.2.0 and later. Access values from URLs, forms, and cookies through the superglobal arrays $_GET, $_POST, and $_COOKIE.
Before you use values from the superglobal arrays, validate them to make sure they don’t contain unexpected input. If you know what type [...]
Posted in Web, php - mysql on March 27, 2008 | 1 Comment »
The Importance of Front-End Performance
High Performance Web Sites: The Importance of Front-End Performance
In 2004, I started the Exceptional Performance group at Yahoo!. We’re a small team chartered to measure and improve the performance of Yahoo!’s products. Having worked as a back-end engineer most of my career, I approached this as I would a code optimization [...]
Posted in Open source, Web, php - mysql, php news on January 14, 2008 | Leave a Comment »
Python has been declared as programming language of 2007. It was a close finish, but in the end Python appeared to have the largest increase in ratings in one year time (2.04%). There is no clear reason why Python made this huge jump in 2007. Last month Python surpassed Perl for the first [...]
Posted in php - mysql, php news on December 11, 2007 | Leave a Comment »
The PHP documentation team is pleased to announce the initial release of the new build system that generates the PHP Manual. Written in PHP, PhD ([PH]P based [D]ocBook renderer) builds are now available for viewing at docs.php.net. Everyone is encouraged to test and use this system so that bugs [...]