R Rip-rip New member Joined Jul 10, 2003 Messages 2 Jul 10, 2003 #1 I´ve got the request to put the Register_global on. I have no idea what it is, what it does. And if i want to put it on, i have no idea how. Please help.
I´ve got the request to put the Register_global on. I have no idea what it is, what it does. And if i want to put it on, i have no idea how. Please help.
DirectAdmin Support Administrator Staff member Joined Feb 27, 2003 Messages 8,509 Jul 10, 2003 #2 Hello, Basically, you just need to edit your php.ini file: /usr/local/lib/php.ini find the line: register_globals = Off and set it to register_globals = On and restart apache: service httpd restart or, if its a per user basis, read: http://www.directadmin.com/forum/showthread.php?s=&threadid=118&highlight=registerglobals John
Hello, Basically, you just need to edit your php.ini file: /usr/local/lib/php.ini find the line: register_globals = Off and set it to register_globals = On and restart apache: service httpd restart or, if its a per user basis, read: http://www.directadmin.com/forum/showthread.php?s=&threadid=118&highlight=registerglobals John
G Guust Verified User Joined Jul 10, 2003 Messages 48 Jul 10, 2003 #3 put a file in their HTML directory named .htaccess and put the following line in it: php_value register_globals 1 I got this one from Chris, thanx Chris
put a file in their HTML directory named .htaccess and put the following line in it: php_value register_globals 1 I got this one from Chris, thanx Chris
R Rip-rip New member Joined Jul 10, 2003 Messages 2 Jul 10, 2003 #4 thnx for the quick response. If i get it right, Register_globals standard is turned off, and only the domeins with this file in it, has the globals on?
thnx for the quick response. If i get it right, Register_globals standard is turned off, and only the domeins with this file in it, has the globals on?
DirectAdmin Support Administrator Staff member Joined Feb 27, 2003 Messages 8,509 Jul 10, 2003 #5 Yes, the .htaccess file will override any settings. John