php

If we need to keep track of something variables and it needs to work with the user not logged in ( anonymouse ), what you want to do is use a cookie to keep track on it.

When we worked on maintenance mode in Database MySQL on Drupal sites, sometime we need to change Our Prefix Tables at new database server, this is a simple trick if you don't want to change one by one table name :)

This is simple script PHP to use it.

Just edit .htaccess file in your Drupal root directory. For example, I added the following two lines.


php_value post_max_size 100M
php_value upload_max_filesize 100M
php_value memory_limit 96M (this is vital for Drupal 6)

# PHP 4, Apache 2.