1
2011
Quy tắc viết htaccess trong PHP
Hướng dẫn – .htaccess rewrite tips using RewriteRule and RewriteCond for .htaccess mod_rewrite Be aware that mod_rewrite (RewriteRule, RewriteBase, and RewriteCond) code is executed for each and every HTTP request that accesses a file in or below the directory where the code resides, so it’s always good to limit the code to certain circumstances if readily identifiable. For example, to limit the next 5 RewriteRules to only be applied to .html and .php files, you [...]
29
2011
Using wp_pagenavi() with custom queries
The old way (which still works): query_posts( array( ‘tag’ => ‘foo’, ‘paged’ => get_query_var(‘paged’) ) ); while ( have_posts() ) : the_post(); the_title(); // more stuff here endwhile; wp_pagenavi(); wp_reset_query(); // avoid errors further down the page The new way (better, because it has less side-effects): $my_query = new WP_Query( array( ‘tag’ => ‘foo’, ‘paged’ => get_query_var(‘paged’) ) ); while ( $my_query->have_posts() ) : $my_query->the_post(); the_title(); // more stuff here endwhile; [...]
27
2011
Tìm hiểu về Comet
comet là một kỹ thuật để tạo hiệu ứng push dữ liệu từ server đến client browser (thay vì client browser request/poll server như chúng ta vẫn biết) redis là csdl, đặc điểm của nó là nằm trong RAM (và đồng bộ vào disk theo chu kỳ do mình thiết lập) nên tốc độ cực nhanh (như memcache bởi cũng h/đ trong RAM – thậm chí nhiều benchmark còn cho thấy nó nhanh hơn cả [...]
11
2011
Open Ldap là gì?
LDAP là một phương tiện chứa dữ liệu nó không phải là một công nghệ. Đúng ra, LDAP là một protocol (Light Weight Access Protocol) nhưng nó có ứng dụng cho protocol nhằm mục đích lưu trữ dữ liệu. Các dịch vụ ứng dụng khả năng của LDAP rất rộng rãi nhất là trong khu vực xác thực người dùng (authentication và authorisation). Mường tượng nó như một DNS có chứa thông tin. Một cách [...]
10
2011
Enable Logging of Slow Queries (Slow Query Log) in MySQL Database
One of the main requirements for a fast web server is to has efficient and effective SQL statements or queries that are optimized. Any non-optimal SQL (Structured Query Language) commands or statements that take too long or lengthy time to execute will use up a lot of system resources, causing MySQL database to run slower, and then more and more queries backlogs queuing up, and when connection limit is reached, visitors are been denied or [...]
Sponsors
Recent Posts
- Best Practices for Speeding Up Your Web Site
- Get List Site of Search Results Google with PHP
- How to get URI of feedburner
- LINUX CENTOS USEFUL COMMANDS FOR DUMMIES
- How to run php scripts using cronjob in linux – centos
- Fix Timeout Issues in CURL, PHP, and Apache
- Installing Memcached for PHP on 8.04 and newer
- Quy tắc viết htaccess trong PHP
Tag Cloud
Recent Comments
- Albert on Sử dụng các thuộc tính CSS3 cho IE với PIE
- Christian Louboutin Men Shoes on position: fixed in IE
- Boby Banh on 11 bài học để kiếm đựoc $100 đầu tiên từ việc viết Blog
- xu ly anh on 11 bài học để kiếm đựoc $100 đầu tiên từ việc viết Blog
- day photoshop tai nha * on 11 bài học để kiếm đựoc $100 đầu tiên từ việc viết Blog
- Electrical on Cấu hình domain ảo ở localhost
- jordan retro 11 on Cấu hình domain ảo ở localhost
- Carlos Parriott on A Modular Directory Structure Quickstart: Create Directory Structure
An article by admin