php

PHP FAQ

in
PHP

Add this to .htaccess:

Options -Indexes -ExecCGI
AddHandler None .php
  1. $user_agent = $_SERVER['HTTP_USER_AGENT']
  2. $is_mobile = preg_match('|Profile/MIDP|',$user_agent)

PHP bug in mime_content_type(): returns text/plain for gzip and bzip or nothing.

How to install memcache on linux and integrate with Drupal 6

If performance is the issue for your Drupal site then one thing you are missing is memcache. This article explains you step by step process to install and memcache and how memcache helps to boost your drupal website.Read more

What is memcache ?

Story URL: 
Syndicate content