Re: Re[2]: [PHP] failed to open stream error
| From: | Richard Lynch | Date: | Sat, 11 Jun 2005 03:04:33 +0000 |
| Subject: | Re: Re[2]: [PHP] failed to open stream error | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-216840@lists.php.net to get a copy of this message | ||
On Fri, June 10, 2005 2:19 pm, Richard Kurth said:
> Hello Duncan,
>
> Friday, June 10, 2005, 12:01:33 AM, you wrote:
>
> DH> On Friday 10 June 2005 06:31, Richard Kurth typed:
>>> Way do I get
>>> Warning:
>>> fopen(https://esos.state.nv.us/SOSServices/AnonymousAccess/CorpSearch/CorpD
>>>etails.aspx?CorpID=478765): failed to open stream: Invalid argument
>>> When I run this. I can access the page from the browser but not from
>>> inside of a script
>
> DH> Is your installation of PHP configured to allow URLs in fopen calls?
>
> Yes it is set to on in php.ini file. I can make it grab files from
> other web sites just not with this one. What else can I look at to try
> and make it work
fopen and friends, last time I checked, did not have all the SSL
key-exchange stuff built-in.
Use cURL or use a URL without the 's' on the http part.
http://php.net/curl
--
Like Music?
http://l-i-e.com/artists.htm