Re: [PHP] Remote file information (PHP 4.0)

2002-06-05 Thread Miguel Cruz
On Wed, 5 Jun 2002, Erik Fears wrote: > Is there a way, when requesting remote files (using fopen() or file()) to > determine the base directory of the file retrieved? For instance, if I did: > > $file = file("http://www.host.com/directory/php";); > > Several things can happen. One is that there

[PHP] Remote file information (PHP 4.0)

2002-06-05 Thread Erik Fears
Is there a way, when requesting remote files (using fopen() or file()) to determine the base directory of the file retrieved? For instance, if I did: $file = file("http://www.host.com/directory/php";); Several things can happen. One is that theres an actual file named php that is retrieved. Seco