How can PHP developers utilize .htaccess files to control register globals settings in their scripts?

Register globals can be controlled in PHP scripts by using the .htaccess file. To disable register globals, developers can add the following line to their .htaccess file: ```apache php_flag register_globals off ``` This will prevent any global variables from being automatically created from user input, which can help improve the security of the PHP script.