Sample code is  $fp = fsockopen("www.whatever.com", 443, $errno, $errmsg);

Error message is $errno --> 13 and $errmsg --> Permission denied...

I think I understand the problem.  I'm using the self-created certificate
without having it be signed by certificate authority.  When I tried the
cURL, it refuse to work and give an SSL error..  Problem is the self-created
certificate is only temporary until the website development is ready for
production where I can then get a real SSL certificate with Certificate
Authority.

So, the question is how to get fsockopen to work with temporary certificate
if this is the problem.

Scott F

"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> --- Scott Fletcher <[EMAIL PROTECTED]> wrote:
> > It said it is set to 1 from ini_get(), it also said "on" from php.ini.
>
> In that case, you should be able to do this. Can you restate exactly what
> you tried (perhaps a small sample script?) and what the error message was?
>
> Chris
>
> =====
> Chris Shiflett - http://shiflett.org/
>
> PHP Security - O'Reilly
>      Coming mid-2004
> HTTP Developer's Handbook - Sams
>      http://httphandbook.org/
> PHP Community Site
>      http://phpcommunity.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to