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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
20 + 3 = ?
Subscribe to this entry?

 
 [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