I am new to PHP and I am trying to view PHP files using your program. When I execute the file thats open it comes back with this error:
FATAL ERROR: register_globals is disabled in php.ini, please enable it!
I checked the php.ini file and its set to on but it still does not work. As far as I understand the php.ini file is in the c:\windows dir and thats the one I opened, could it be somewhere else and I am looking at the wrong one. Please Help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
you need not to set register globals=on
in the php.ini file you see the following text:
; - register_globals = Off [Security, Performance]
; Global variables are no longer registered for input data (POST, GET, cookies,
; environment and other server variables). Instead of using $foo, you must use
; you can use $_REQUEST["foo"] (includes any variable that arrives through the
; request, namely, POST, GET and cookie variables), or use one of the specific
; $_GET["foo"], $_POST["foo"], $_COOKIE["foo"] or $_FILES["foo"], depending
; on where the input originates. Also, you can look at the
; import_request_variables() function.
; Note that register_globals is going to be depracated (i.e., turned off by
; default) in the next version of PHP, because it often leads to security bugs.
; Read http://php.net/manual/en/security.registerglobals.php for further
; information.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am probably even newer to php. I came across the same problem, however, I am not familiar with the php.ini file. I looked for it in all my folders, and didn't find it. I thought it might be Index, however, there was no mention of register in the file. Looking for your help
Fabie
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am new to PHP and I am trying to view PHP files using your program. When I execute the file thats open it comes back with this error:
FATAL ERROR: register_globals is disabled in php.ini, please enable it!
I checked the php.ini file and its set to on but it still does not work. As far as I understand the php.ini file is in the c:\windows dir and thats the one I opened, could it be somewhere else and I am looking at the wrong one. Please Help.
you need not to set register globals=on
in the php.ini file you see the following text:
; - register_globals = Off [Security, Performance]
; Global variables are no longer registered for input data (POST, GET, cookies,
; environment and other server variables). Instead of using $foo, you must use
; you can use $_REQUEST["foo"] (includes any variable that arrives through the
; request, namely, POST, GET and cookie variables), or use one of the specific
; $_GET["foo"], $_POST["foo"], $_COOKIE["foo"] or $_FILES["foo"], depending
; on where the input originates. Also, you can look at the
; import_request_variables() function.
; Note that register_globals is going to be depracated (i.e., turned off by
; default) in the next version of PHP, because it often leads to security bugs.
; Read http://php.net/manual/en/security.registerglobals.php for further
; information.
I am probably even newer to php. I came across the same problem, however, I am not familiar with the php.ini file. I looked for it in all my folders, and didn't find it. I thought it might be Index, however, there was no mention of register in the file. Looking for your help
Fabie
read the php-documentation at
http://ch.php.net/ini
and
http://ch.php.net/manual/en/faq.installation.php#faq.installation.phpini