Disable php register_globals

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

jplus2
New php-forum User
New php-forum User
Posts: 87
Joined: Wed May 16, 2012 4:17 pm

Disable php register_globals

Postby jplus2 » Sun Oct 14, 2012 11:13 pm

unfortunately one of my client's server have register_globals turned on,

I've tried adding an .htaccess on my root of my site with the command below

php_flag register_globals off

when I visit the site, it gave me 500 internal server error

when I remove it, its fine

can you help me with this

Thank you in advance

Return to “PHP coding => General”

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests