php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #8876 fopen/file/readfile and HTTP-Redirect
Submitted: 2001-01-24 04:17 UTC Modified: 2001-06-13 16:38 UTC
From: dwphp at dur dot ch Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.3pl1 OS: Linux 2.4.0-test11 i586
Private report: No CVE-ID: None
 [2001-01-24 04:17 UTC] dwphp at dur dot ch
It should be possible to detect if a fopen("htttp://host/path") got redirected and to get the URL of the new Location (i.e. http://host/path/ with the trailing /).

As it is now, there is no possibility to check if an an fopen() or file() call got redirected or not.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-13 16:38 UTC] mj@php.net
This feature has been added in PHP 4.0.5

- Martin
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 21:01:29 2024 UTC