php-register-globals off... how to on the service??

shaadomanthra

Verified User
Joined
Nov 28, 2008
Messages
5
Sir when im installing the ( phpform) per designed softwares in the instalatron in my Direct admin is asking to on the php-register-globals how to do that ??
 
Sir when im installing the ( phpform) per designed softwares in the instalatron in my Direct admin is asking to on the php-register-globals how to do that ??

Run very far away from the application. There is so much wrong with an application wanted to enable register-globals that there really is no place to start. Not only is it bad programming form but it's a rather huge security risk. So much so that a default PHP 5.0, 5.1 and 5.2 install have it turned off by default and the only reason it's still there is for legacy support.

If you absolutely must turn it on (As in this is a "must-have" application), you have to locate your php.ini file (/usr/local/php in many cases but also /etc or in the Zend directory depending on how/when your PHP was installed) and find the line "register_globals" and change it on "On".
 
Back
Top