Date: 11/13/00
- Next message: Zeev Suraski: "Re: [PHP-DEV] transparent output compression patch"
- Previous message: Daniel J. Rodriguez: "Re: [PHP-DEV] php.org and www.motherboards.com"
- In reply to: Andrei Zmievski: "Re: [PHP-DEV] assymetric encryption functions based on OpenSSL"
- Next in thread: Andi Gutmans: "Re: [PHP-DEV] assymetric encryption functions based on OpenSSL"
- Reply: Andi Gutmans: "Re: [PHP-DEV] assymetric encryption functions based on OpenSSL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Nov 13, 2000 at 02:20:14PM -0600, Andrei Zmievski wrote:
> 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");
You're right, I thought this would be hard to do, but I guess I can
use php_fopen_wrapper() behind the curtains. Will have a look at this.
Stig
-- 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>
- Next message: Zeev Suraski: "Re: [PHP-DEV] transparent output compression patch"
- Previous message: Daniel J. Rodriguez: "Re: [PHP-DEV] php.org and www.motherboards.com"
- In reply to: Andrei Zmievski: "Re: [PHP-DEV] assymetric encryption functions based on OpenSSL"
- Next in thread: Andi Gutmans: "Re: [PHP-DEV] assymetric encryption functions based on OpenSSL"
- Reply: Andi Gutmans: "Re: [PHP-DEV] assymetric encryption functions based on OpenSSL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

