HostGator Reseller Hosting
 
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read Web Directory

Go Back   Webmaster Forum > Designing and Developing Websites > Web & Server Administration

Web & Server Administration Discussions about websites and server administration, mod_rewrite, managing .htaccess, Apache and Windows Server configuration, LINUX, Security, Traffic Analysis, Sitemaps, robots.txt etc...

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 01-23-2008, 09:09 AM
c4gamerz c4gamerz is offline
WMG Newcomer
 
Join Date: Aug 2007
Posts: 6
iTrader: (0)
c4gamerz is on a distinguished road
Default HOW TO : Register Globals ON/OFF

All you need to do is :
1.) Edit the .htaccess file in the public_html folder.

2.) Add the following line into the .htaccess file:

Code:
php_flag register_globals on
3)Save the .htaccess file.
Reply With Quote
Sponsored Links
Register and sign in to hide this ad block

  #2 (permalink)  
Old 01-23-2008, 04:18 PM
blokey blokey is offline
WMG Resident Alien
 
Join Date: Mar 2007
Posts: 93
iTrader: (0)
blokey is on a distinguished road
Default

The use of register_globals has been discouraged for years now because it's very easy to introduce security holes into your applications. It's being removed completely with the release of PHP 6.

The only time you should do this is if you have an old or poorly-written script you can't do without or can't update.

Last edited by blokey : 01-23-2008 at 04:20 PM.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

All times are GMT. The time now is 07:33 PM.



Freelance Web Designers
Work At Home Forum
Ad Marketplace
Online Deals and Bargains
Lunarpages Web Hosting Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0