|
Posted by Cord-Heinrich Pahlmann on 01/28/07 22:34
On 28 Jan., 22:26, Joachim Mæland <jm-n...@profine.net> wrote:
> On Sun, 28 Jan 2007 12:20:25 -0800, Cord-Heinrich Pahlmann wrote:
> > But with file(httpS://externpage); i get an error.What kind of error...?
>
> What OS and webserver is the remote site running?
I have no clue.
>
> What OS, PHP version and webserver is your local site running?
I have a xampp test enviroment (Apache w/ PHP 4.4.4).
I'm sorry, but when I uploaded the script to my webhoster it worked.
So it might be an issue with the OpenSSL support as Micha suggested.
I just looked at the phpinfo() pages of both configs and on both
systems is openSSL enabled. My hoster has an older version, though.
But that shouldn't be the problem.
The error I get from my localhost is the following:
Warning: file(https://SITE) [function.file]: failed to open stream:
Invalid argument in ... on line...
It works fine with normal HTTP.
Since, the script is running on my webspaces I'm fine. But I still
would really like to know why it isn't working from localhost.
[Back to original message]
|