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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: dwphp at dur dot ch
New email:
PHP Version: OS:

 

 [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: Tue May 07 09:01:31 2024 UTC