register_globals is disabled in php.ini, please enable it

For the security of the server register_globals has been disabled. However you can change this setting per user account manually.

Edit your .htaccess file in your /home/user/public_html directory, and add the following:

"php_value register_globals 1"

To view this file via cPanel please make sure you have "show dot files" checked in file manager.

On some server oyu may need to use the php.ini file instead.


Add a file named 'php.ini' to your /home/user/public_html directory.

In the 'php.ini' file add the following:

register_globals = on
  • 1261 Utilisateurs l'ont trouvée utile
Cette réponse était-elle pertinente?

Articles connexes

Is there anyway to change the directory index for my website?

If you want your directory index page to be different then the normal index.html, index.htm, or...