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 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

Pull Requests

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: Thu Oct 31 23:01:28 2024 UTC