Re: encryption code in php
| From: | Scott Fletcher | Date: | Fri, 28 Jun 2002 21:11:08 +0000 |
| Subject: | Re: encryption code in php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-104427@lists.php.net to get a copy of this message | ||
Never mind! It took me all day to find out what the problem is. It turned
out that PHP use $SSL_PROTOCOL, $SSL_CIPHER_USEKEYSIZE, etc. It is
displayed automatically when the register_global is turned on. With some
research, found out that it is part of Mod_SSL where PHP use it from. Yet,
I still struggle and I tried specifying the environment variables like file
put_env(), etc. So, far they never work. Until I got to the documentation
at http://www.php.net/release_4_1_0.php and I got
the clue from it saying
that "REMOTE_ADDR" is part of "$_SERVER". I never knew that. So, I began
to understand that any environment variables like "REMOTE_ADDR" or
"SSL_PROTOCOL", etc is part of "$_SERVER". I'm going to need better
documentation on what variables are include in things like "$_GET",
"$_COOKIE", "$_ENV", "$_SERVER", etc. So, I can use whatever the
variables
I never heard of and put it to good use on the website. Anyone know?
Thanks, FletchSOD
"Scott Fletcher" <scott@abcoa.com> wrote in message
news:20020628192818.95974.qmail@pb1.pair.com...
> I noticed some of hte encryption codes in php such as $SSL_PROTOCOL, etc.
> Is it from openssl software or from mcrypt or what? Thanks, FletchSOD
>
>