Re: A question not to sockhead but HTTPS ...
| From: | Stephen Cope | Date: | Fri, 14 Jul 2000 01:14:54 +0000 |
| Subject: | Re: A question not to sockhead but HTTPS ... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6585@lists.php.net to get a copy of this message | ||
: i've written a code to access web server via HTTP but i
: have sometimes to access to web server in https so with
: SSL
Are you familiar with HTTPS? You do know about which ports it uses and any
peculiar request/response headers?
: The problem is that PHP in my kowledge cant talk in SSL
As for built in support, I don't believe PHP has any. (fopen() / fread())
But you can add your own.
http://kimihia.cjb.net/projects/yahc/
You can use Yahc as your starting point for a generic socket reading/writing
class. It is geared more towards HTTP headers/ requests.
So, some things to try:
- use sockhead on the HTTPS port (443) and see what happens
- examine the appropriate RFCs (2818 (TLS) / 2246 (TLS))
--
-- Stephen D C
-- Auckland, New Zealand
-- http://stephenc.cjb.net/
--