Hello ppl,
I found a simple login script and if I try it I recive an error,
bellow you can see the error from browser and the error from the log file.
I use NuSphere as my apache server.
Error from the browser:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, @ and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/1.3.26 Server at localhost Port 9000
--
Error line from nsaccess.log file :
127.0.0.1 - - [01/May/2003:14:45:40 +0300] "GET /sibiul/adm/index.php HTTP/1.1" 500 598
--
Error line from nsaccess.log file :
[Thu May 01 14:49:59 2003] [error] [client 127.0.0.1] malformed header from script. Bad header=HTTP/1.0 401 Unauthorized: c:/program files/nusphere/apache/php/php.exe
I'm sure that the script is and I think the problem is because of the global
variabiles (I'm not sure if those are global variables) $PHP_AUTH_USER and $PHP_AUTH_PW .
I had some other script (not login scripts) and where a value is read using this $GET['page'] I will have
nothing as result, but if I change $GET['page'] in to $page everything it's ok.
What's the diference betwen those 2 -> $_GET['page'] and $page and which one is better to be used?
10x in advance,
see ya all