#21937 [Opn->Csd]: Missing controlfunction in fopen for open urls using trustservers

From: Date: Wed, 29 Jan 2003 19:54:02 +0000
Subject: #21937 [Opn->Csd]: Missing controlfunction in fopen for open urls using trustservers
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-31615@lists.php.net to get a copy of this message
ID: 21937 Updated by: iliaa@php.net Reported By: eisbrenner@gid-gmbh.de -Status: Open +Status: Closed Bug Type: *General Issues Operating System: Windows, Linux PHP Version: 4.2.2 New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. In 4.3.0 snapshot fopen() is able to handle redirects. Previous Comments: ------------------------------------------------------------------------ [2003-01-29 05:28:13] eisbrenner@gid-gmbh.de Hi, there is missing a controlfunction opening an url. in case of using an authorisation-system (like novell client trust) in a private network the auth-server sends a redirect to a ssl-port. using a webclient a certificate will be transferred and a login-screen will be shown. the problem is, fopen can open the socket, but can't handle the redirection. after reaching the timelimit an errormessage is diplayed (tested with 10 minutes timeout). after login on the trust-server using a webclient php is able to open the requested document. so the redirect-url should be caught and displayed as a warning, fopen should return false, so the following parts in the php-script can be executed. regards Kai Eisbrenner ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21937&edit=1

« previous php.bugs (#31615) next »