Go Back   Web Server Hosting Forum by BODHost > Support > Windows Dedicated Server
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 12-21-08, 08:15
BOD Member
 
Join Date: Nov 2008
Posts: 62
Default How to fix Register Globals

If you want to enable Register Globals for particular domain, then follow these steps,
1) Create phpinfo.php like
<?php phpinfo(); ?>
2) Browse it with http://<domain name>/phpinfo.php
3) If register global is OFF, you will need to enable it through = regedit
4) Start >> Run >> regedit
Go to My Computer\HKLM\SOFTWARE\PHP\Per Directory Values\D\Inetpub\vhosts\
Go to particular Domain and change it to 1.

Second procedure..

If you are using plesk control panel with PHP 5.2.3 version then follow these steps..

1) Open the path D:\SWsoft\Plesk\Additional\PleskPHP5\php.ini on server.

2) Search the register_globals in php.ini files

3) If the status is off then make it on in php.ini files.

4) Restart the IIS on server.. that’s it..

Code for PHP info :-<? phpinfo(); ?>
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 On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 02:27.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.