Categories: Hostripples Featured

How to enable register_globals for a single website without putting an entire server security at risk?

How to enable register_globals for a single website without putting an entire server security at risk?

 

* Go to your control panel and then click on File manager.
* In your file manager, enter the public_html folder.
* In the public_html folder you will see a file called .htaccess.
* Select  the .htaccess  file and click on edit in the upper right hand corner.
* Copy and paste the text line shown below at the bottom of .htaccess file and then save it:

php_value register_globals 1

This will turn your register_globals on and your script will work properly. Why is register_globals

disabled in the first place? Leaving register_globals turned on poses a security risk for an entire web

server. It should therefore only be enable on a case by case situation and only per website. Web

Developers should no longer develop scripts that require


HR-ADMIN

Recent Posts

How to Fix the 502 Bad Gateway Error in WordPress

502 Bad Gateway Error is the most irritating and it’s like a headache for the website owner. The most frustrating…

3 days ago

How to Reset Root Password in CentOS?

In Linux, you can recover your password easily via a root account. The worst situation arises when you forget your…

5 days ago

How to use Meta Business Suite: 2024 Guide

Meta Business Suite is nothing but formerly Facebook Business Manager designed to help users manage their presence across Facebook and Instagram seamlessly.…

1 week ago

The Ultimate Guide to WordPress Maintenance: Tips and Tricks

When you’re running a business that relies on website traffic and sales to succeed. Then you need to keep it…

3 weeks ago

Migrate In 2024: Our Comprehensive Website Migration Manual to the Next Level

Migration! Yes, this word is very big in the web hosting industry and it has its importance. Especially for businesses…

3 weeks ago