Help - Search - Members - Calendar
Full Version: Register_globals
Zymic Webmaster Forums > Zymic Free Web Hosting > Databases & MySQL
BidBuySell
Does anyone know if register_globals is allowed to be turned on. I have a script and it requires it to be on. If this is allowed I'm not sure were to go to set it to on.

Thanks,

Philip
Ed
My suggestion would be to not use that script, if a script needs registered globals then it's poorly written. But no, register_ globals is off.
BidBuySell
QUOTE(Bread @ Oct 16 2008, 10:01 PM) *
My suggestion would be to not use that script, if a script needs registered globals then it's poorly written. But no, register_ globals is off.


Can it be turned on? The script is the one that has all the features I need. I've looked every where plus I could afford it.
swordz
No - it introduces too many vulnerabilities.

Anything that register_globals enables can be worked around. As Bread said, it's just lazy coding. If it's your script, redo it. If it's not, complain.

swordz
BidBuySell
QUOTE(Bread @ Oct 16 2008, 10:01 PM) *
My suggestion would be to not use that script, if a script needs registered globals then it's poorly written. But no, register_ globals is off.


Here is the patch to fix this but when I copied the 3 fiiles over and tried to run the install I got the same errors.

http://www.johnrayfield.com/phpauction/php...ch-06-13-08.zip

Philip
BidBuySell
QUOTE(swordz @ Oct 16 2008, 11:06 PM) *
No - it introduces too many vulnerabilities.

Anything that register_globals enables can be worked around. As Bread said, it's just lazy coding. If it's your script, redo it. If it's not, complain.

swordz


I found a patch that consisted of 3 files so register_globals can be off. Here is what I did and the error message any help would be appreciated.

I deleted everything on the server and did a fresh upload. I add the 3 files in the patch so the register_globals didn't have to be on. Most servers won't allow this because it has a security hole. I changed all the files that the instructions said need the cmod set to 777. Here is the error I get on the creating config files part of the installation. The first 2 parts of the install go ok. Anyone have an idea how to fix this?

Philip


PHP Error Message

Warning: fopen(config.inc.tmp) [function.fopen]: failed to open stream: No such file or directory in /home/a5971991/public_html/admin/install4.php on line 44

Free Web Hosting

PHP Error Message

Warning: filesize() [function.filesize]: stat failed for config.inc.tmp in /home/a5971991/public_html/admin/install4.php on line 46

Free Web Hosting

PHP Error Message

Warning: fread(): supplied argument is not a valid stream resource in /home/a5971991/public_html/admin/install4.php on line 46

Free Web Hosting

PHP Error Message

Warning: fclose(): supplied argument is not a valid stream resource in /home/a5971991/public_html/admin/install4.php on line 48

Free Web Hosting

PHP Error Message

Warning: fopen(config.inc.php) [function.fopen]: failed to open stream: Permission denied in /home/a5971991/public_html/admin/install4.php on line 63

Free Web Hosting

PHP Error Message

Warning: fclose(): supplied argument is not a valid stream resource in /home/a5971991/public_html/admin/install4.php on line 67

Free Web Hosting

PHP Error Message

Warning: fopen(passwd.inc.tmp) [function.fopen]: failed to open stream: No such file or directory in /home/a5971991/public_html/admin/install4.php on line 71

Free Web Hosting

PHP Error Message

Warning: filesize() [function.filesize]: stat failed for passwd.inc.tmp in /home/a5971991/public_html/admin/install4.php on line 73

Free Web Hosting

PHP Error Message

Warning: fread(): supplied argument is not a valid stream resource in /home/a5971991/public_html/admin/install4.php on line 73

Free Web Hosting

PHP Error Message

Warning: fclose(): supplied argument is not a valid stream resource in /home/a5971991/public_html/admin/install4.php on line 75

Free Web Hosting

PHP Error Message

Warning: fopen(passwd.inc.php) [function.fopen]: failed to open stream: Permission denied in /home/a5971991/public_html/admin/install4.php on line 87

Free Web Hosting

PHP Error Message

Warning: fclose(): supplied argument is not a valid stream resource in /home/a5971991/public_html/admin/install4.php on line 91

Free Web Hosting


Installation


System Check MySQL Settings Creating conf. files Creating DB




Processing configuration files

Settings written to includes/config.inc.php
MySQL settings written to includes/passwd.inc.php








QUOTE
I bought a copy of the v 2.51 gpl script and when I went to install it on the hosting server I found out they don't all Register_globals to be turned on because it's a big security hole. In searching for fix I came across the one on this website that will fix the problem so Register_globals can be turned off and the script will still work. I downloaded the file and it contained 3 files. I uploaded them to the server where the files with the same name are and I'm still getting errors during the install. Not sure what to do now? Here is the error I get during install.


PHP Error Message

Warning: fopen(config.inc.tmp) [function.fopen]: failed to open stream: No such file or directory in /home/a5971991/public_html/admin/install4.php on line 44

Free Web Hosting

PHP Error Message

Warning: filesize() [function.filesize]: stat failed for config.inc.tmp in /home/a5971991/public_html/admin/install4.php on line 46

Free Web Hosting

PHP Error Message

Warning: fread(): supplied argument is not a valid stream resource in /home/a5971991/public_html/admin/install4.php on line 46

Free Web Hosting

PHP Error Message

Warning: fclose(): supplied argument is not a valid stream resource in /home/a5971991/public_html/admin/install4.php on line 48

Free Web Hosting

PHP Error Message

Warning: fopen(config.inc.php) [function.fopen]: failed to open stream: Permission denied in /home/a5971991/public_html/admin/install4.php on line 63

Free Web Hosting

PHP Error Message

Warning: fclose(): supplied argument is not a valid stream resource in /home/a5971991/public_html/admin/install4.php on line 67

Free Web Hosting

PHP Error Message

Warning: fopen(passwd.inc.tmp) [function.fopen]: failed to open stream: No such file or directory in /home/a5971991/public_html/admin/install4.php on line 71

Free Web Hosting

PHP Error Message

Warning: filesize() [function.filesize]: stat failed for passwd.inc.tmp in /home/a5971991/public_html/admin/install4.php on line 73

Free Web Hosting

PHP Error Message

Warning: fread(): supplied argument is not a valid stream resource in /home/a5971991/public_html/admin/install4.php on line 73

Free Web Hosting

PHP Error Message

Warning: fclose(): supplied argument is not a valid stream resource in /home/a5971991/public_html/admin/install4.php on line 75

Free Web Hosting

PHP Error Message

Warning: fopen(passwd.inc.php) [function.fopen]: failed to open stream: Permission denied in /home/a5971991/public_html/admin/install4.php on line 87

Free Web Hosting

PHP Error Message

Warning: fclose(): supplied argument is not a valid stream resource in /home/a5971991/public_html/admin/install4.php on line 91

Free Web Hosting
Installation
System Check

MySQL

Settings

Creating conf. files

Creating DB

Processing configuration files

Settings written to includes/config.inc.php
MySQL settings written to includes/passwd.inc.php
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.