You are here: Re: Reading a page with file() - Problems with https « PHP Programming Language « IT news, forums, messages
Re: Reading a page with file() - Problems with https

Posted by lorento on 01/29/07 09:31

1. Check your firewall.
2. Check your internet connection wether use proxy or not to access
internet.
--
http://www.mastervb.net
On Jan 29, 5:34 am, "Cord-Heinrich Pahlmann" <S...@Heineken2000.de>
wrote:
> 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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация