Re: Help with fread

From: Date: Wed, 28 May 2003 20:04:37 +0000
Subject: Re: Help with fread
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-149311@lists.php.net to get a copy of this message
Hi, As the PHP manual states you CAN NOT use filesystem functions, such as filesize, filectime, etc... on remote files, such as those opened opened through HTTP. You can however rely on the FTP functions, if you can use FTP to open the files. Cheers, Catalin "Erich Kolb" <ekolb@randbreceivables.com> wrote in message news:20030528192609.84426.qmail@pb1.pair.com... > How can I get statistics from a remote file? > > I am trying to get info on: > FileSize > Date Created > Date Modified > > when: > fopen ("http://somedomain.com/somefile.ext", > "r") > > Also, I am unable to use filesize function where $fp = > fopen("http://somedomain.com/somefile.ext", > "r"). > > > Is it possible to do this, or is it a limitation of php/linux filesystem? > >

« previous php.general (#149311) next »