Re: [PHP] FW: looking for two remote functions

2007-03-13 Thread tedd
At 4:18 PM +0100 3/13/07, Tijnema ! wrote: I'm not sure if it's the size you were looking for, but keep in mind that it depends on the block size. So different filesystems use different block size. Tijnema Yes and in addition, regardless of the "absolute" file size, the file still has to be

Re: [PHP] FW: looking for two remote functions

2007-03-13 Thread Tijnema !
> compared to > file size which is an actual byte count. > > As I mentioned before what I want is a function for getting the result > for > the Size no for Size on Disk > > Riyadh > > -Original Message- > From: Németh Zolt?n [mailto:[EMAIL PROTECTED] > Sent

RE: [PHP] FW: looking for two remote functions

2007-03-12 Thread Richard Lynch
ount. > > As I mentioned before what I want is a function for getting the result > for > the Size no for Size on Disk > > Riyadh > > -Original Message- > From: Németh Zolt?n [mailto:[EMAIL PROTECTED] > Sent: 10/Mar/2007 12:27 PM > To: Riyadh S. Alshaeiq

Re: [PHP] FW: looking for two remote functions

2007-03-12 Thread Tijnema !
Just a little note, getting content-length and a lot of other stuff from remote files is also possbiel with curl_getinfo() www.php.net/curl_getinfo Tijnema On 3/11/07, Tijnema ! <[EMAIL PROTECTED]> wrote: Not everyone checks his email 1000 times a day, last time he replied was yesterday... s

Re: [PHP] FW: looking for two remote functions

2007-03-11 Thread Tijnema !
Not everyone checks his email 1000 times a day, last time he replied was yesterday... so give him some time to read his email Tijnema On 3/11/07, Myron Turner <[EMAIL PROTECTED]> wrote: I think we've been talking to ourselves. The guy with the original question seems to have folded his h

Re: [PHP] FW: looking for two remote functions

2007-03-11 Thread Myron Turner
I think we've been talking to ourselves. The guy with the original question seems to have folded his hand and gone home. This is exactly what my script also did, get the content-length from the header. But i don't see what the actual problem is, there have been a lot of solutions around here b

Re: [PHP] FW: looking for two remote functions

2007-03-11 Thread Tijnema !
On 3/11/07, Myron Turner <[EMAIL PROTECTED]> wrote: Tijnema ! wrote: > > I'm not very familiar with PERL, so will this work with remote files? > As it seems that you are just reading from local hard drive... > > Tijnema It has to be on the machine from which the pages are being served. He wa

Re: [PHP] FW: looking for two remote functions

2007-03-11 Thread Myron Turner
Tijnema ! wrote: I'm not very familiar with PERL, so will this work with remote files? As it seems that you are just reading from local hard drive... Tijnema It has to be on the machine from which the pages are being served. There have been several workable suggestions for different possibi

Re: [PHP] FW: looking for two remote functions

2007-03-11 Thread Tijnema !
On 3/11/07, Myron Turner <[EMAIL PROTECTED]> wrote: Myron Turner wrote: > Tijnema ! wrote: >> On 3/10/07, Németh Zoltán <[EMAIL PROTECTED]> wrote: >> >>> 2007. 03. 10, szombat keltezéssel 12.42-kor Riyadh S. Alshaeiq ezt >>> írta: >>> > Actually if right click on any file or folder on a machine

Re: [PHP] FW: looking for two remote functions

2007-03-11 Thread Myron Turner
Myron Turner wrote: Tijnema ! wrote: On 3/10/07, Németh Zoltán <[EMAIL PROTECTED]> wrote: 2007. 03. 10, szombat keltezéssel 12.42-kor Riyadh S. Alshaeiq ezt írta: > Actually if right click on any file or folder on a machine you will see that > there are two values (Size on disk & Size). File

Re: [PHP] FW: looking for two remote functions

2007-03-10 Thread Myron Turner
ubstr($line,16) } } Now your remote file size is in $size. It is not too fast, but everything in PHP is fast and so is this. Tijnema > > Riyadh > > -Original Message- > From: Németh Zolt?n [mailto:[EMAIL PROTECTED] > Sent: 10/Mar/2007 12:27 PM > To: Riyadh S. Alshaei

Re: [PHP] FW: looking for two remote functions

2007-03-10 Thread Tijnema !
our remote file size is in $size. It is not too fast, but everything in PHP is fast and so is this. Tijnema > > Riyadh > > -Original Message- > From: Németh Zolt?n [mailto:[EMAIL PROTECTED] > Sent: 10/Mar/2007 12:27 PM > To: Riyadh S. Alshaeiq > Cc: php-general@lis

RE: [PHP] FW: looking for two remote functions

2007-03-10 Thread Németh Zoltán
Zoltán Németh > > Riyadh > > -Original Message- > From: Németh Zolt?n [mailto:[EMAIL PROTECTED] > Sent: 10/Mar/2007 12:27 PM > To: Riyadh S. Alshaeiq > Cc: php-general@lists.php.net > Subject: Re: [PHP] FW: looking for two remote functions > > I'm afraid I

RE: [PHP] FW: looking for two remote functions

2007-03-10 Thread Riyadh S. Alshaeiq
php-general@lists.php.net Subject: Re: [PHP] FW: looking for two remote functions I'm afraid I don't understand what you want. The size of a file is its size in bytes, that is its size on the disk. So what else? greets Zolt?n Németh 2007. 03. 10, szombat keltezéssel 06.07-kor Riyadh S. Als

Re: [PHP] FW: looking for two remote functions

2007-03-10 Thread Németh Zoltán
I'm afraid I don't understand what you want. The size of a file is its size in bytes, that is its size on the disk. So what else? greets Zoltán Németh 2007. 03. 10, szombat keltezéssel 06.07-kor Riyadh S. Alshaeiq ezt írta: > Thank you Mickey, but I have already looked in there and the function p