|
Posted by NC on 02/25/06 21:21
mmaenz@yahoo.de wrote:
>
> I can't find any information about where php gets the information
> $_SERVER['xxx'] from.
>From the operating system. On Unix, you can view the environment
variables and their values using the 'env' command; on Windows, you can
use 'SET'. Both OSs provide means to obtain environment variables and
their values programmatically.
> Are all Errors put out on stdout?
No, they are written into stderr.
> In my opinion, the PHP errors are giving away to much
> Information about the server and his structure.
Of course. It is very useful during debugging. And, moreover, you can
turn error display off (recommended on production servers).
Cheers,
NC
[Back to original message]
|