Re: [PHP] fopen and redirects

2005-02-25 Thread Richard Lynch
Warren Vail wrote: I am using fopen with a url to open a remote file (read only of course). The url I am providing results in a redirect and the fopen seems to be smart enough to follow the redirect to return the actual file contents. How can I get at the redirected filename? The problem

[PHP] fopen and redirects

2005-02-24 Thread Warren Vail
I am using fopen with a url to open a remote file (read only of course). The url I am providing results in a redirect and the fopen seems to be smart enough to follow the redirect to return the actual file contents. How can I get at the redirected filename? The problem is the file contains html