Re: PHP and extern link

From: Date: Sun, 19 Sep 2004 15:38:58 +0000
Subject: Re: PHP and extern link
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-197195@lists.php.net to get a copy of this message
Martin Justra wrote:
Hi,
Did you want to a) redirect the user to https://www.domain.com/... or b) display the contents of https://www.domain.com/...?
I want to redirect the user. But as soon as I try with fopen (https://....) I get the following error: Warning: fopen(https://tto.deutschepost.de/nexttonline/jsp/direct_access.do?v_benutzer=xxx&v_passwort=xxx&v_ic=xxx&v_spr=deu): failed to open stream: No such file or directory in /var/www/catalog/blubb.php on line 2 It seems that fopen is not able to open it, because it is not redirected to a file... Any solutions ? Martin
run phpinfo() and check if openssl is installed (--with-openssl in Configure Command, there is a openssl module section, Registered Stream Socket Transports contains ssl). Also check if allow_url_fopen is on.

« previous php.general (#197195) next »