Contact Form Message

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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

Re: Contact Form Message

Post by johnj » 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: 1805
Joined: Thu Mar 10, 2011 5:07 pm

Re: Contact Form Message

Post by johnj » 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

Who is online

Users browsing this forum: Bing [Bot] and 1 guest