Contact Form Message

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
johnj
php-forum Super User
php-forum Super User
Posts: 1803
Joined: Thu Mar 10, 2011 5:07 pm

Thu Jul 11, 2013 6:30 am

open your php.ini file and switch the register gloabls to off. register globals opens a lot of security holes and that is why it is wise to turn it off.

johnj
php-forum Super User
php-forum Super User
Posts: 1803
Joined: Thu Mar 10, 2011 5:07 pm

Sat Jul 13, 2013 5:58 am

In your php.ini file (provided you have permission to edit it). Please read about php.ini.

If my understanding is correct then register_globals cannot be set at runtime (ini_set())

Some people say that it(register global variable) can be set using .htaccess file though I haven't tried it.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests