четверг, 13 сентября 2012 г.

Enable $HTTP_SERVER_VARS and $HTTP_GET_VARS in PHP5

Params:
PHP 5.3.10-1ubuntu3.2 with Suhosin-Patch

Problem:
In php4 project not defined variables $HTTP_SERVER_VARS and $HTTP_GET_VARS

Solution:
Enable php directives register_globals and register_long_arrays
You can do it in your php.ini configuration file, but the best way do it in .htaccess file in your specific project.

Комментариев нет:

Отправить комментарий