Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

Disable php register_globals

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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
jplus2
New php-forum User
New php-forum User
 
Posts: 87
Joined: Wed May 16, 2012 4:17 pm

Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.