Re: PHP Header to stimulate a POST method or POST string????

From: Date: Wed, 18 Feb 2004 21:04:25 +0000
Subject: Re: PHP Header to stimulate a POST method or POST string????
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-178172@lists.php.net to get a copy of this message
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" <shiflett@php.net> wrote in message news:20040218194010.31421.qmail@web14307.mail.yahoo.com... > --- Scott Fletcher <scott@abcoa.com> 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/

« previous php.general (#178172) next »