Re: [PHP-DEV] assymetric encryption functions based on OpenSSL From: Andrei Zmievski (andrei <email protected>)
Date: 11/13/00

On Mon, 13 Nov 2000, Stig Venaas wrote:
> The advantage of the current way is that you can do:
>
> $fp = fopen("http://www.www.ww/cert.pem");
> $x509 = openssl_read_x509($fp);
>
>
> How about both? I can check whether it's a string or a resource.

Sorry, but how is it better than:

$x509 = openssl_read_x509("http://www.www.ww/cert.pem");

-Andrei

Give a man a fish; you have fed him for today. Teach a man to fish;
and you can sell him fishing equipment.
                                        -Author unknown

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>