Re: [PHP] "FileSize" --> fread($fd, 7000)

2001-08-16 Thread Mukul Sabharwal

Hi,

It doesnt' matter what you're doing, filesize will
give you what it reads from the particular file.

--- Augusto Cesar Castoldi
<[EMAIL PROTECTED]> wrote:
> ops.
> 
> I forgot to say.
> 
> but I'm calling a script, so I get diferents
> filesizes
> 
> $fd = fopen("http://localhost/script.php";, "r");
> $aux = fread($fd, 70);
> fclose($fd);
> 
> Can I now the size of "$fd"? Well, I need to ready
> all $fd.
> thanks.
> 
> Augusto
> - Original Message -
> From: Mukul Sabharwal <[EMAIL PROTECTED]>
> To: Augusto Cesar Castoldi
> <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Thursday, August 16, 2001 9:08 AM
> Subject: Re: [PHP] "FileSize" --> fread($fd, 7000)
> 
> 
> > Hi,
> >
> > fread($fd, filesize("somefile.txt"));
> >
> > --- Augusto Cesar Castoldi
> > <[EMAIL PROTECTED]> wrote:
> > > Hi.
> > >
> > > instead use "7000" in "fread($fd, 7000)", i'd
> like
> > > to use the size of the
> > > file opened. How can I know the size of the
> fopen?
> > >
> > > thanks.
> > >
> > > Augusto
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > To contact the list administrators, e-mail:
> > > [EMAIL PROTECTED]
> > >
> >
> >
> > =
> > *
> > http://www.geocities.com/mimodit
> > *
> >
> > __
> > Do You Yahoo!?
> > Make international calls for as low as $.04/minute
> with Yahoo! Messenger
> > http://phonecard.yahoo.com/
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
> >
> >
> 
> 


=
*
http://www.geocities.com/mimodit
*

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] "FileSize" --> fread($fd, 7000)

2001-08-16 Thread Mukul Sabharwal

Hi,

fread($fd, filesize("somefile.txt"));

--- Augusto Cesar Castoldi
<[EMAIL PROTECTED]> wrote:
> Hi.
> 
> instead use "7000" in "fread($fd, 7000)", i'd like
> to use the size of the
> file opened. How can I know the size of the fopen?
> 
> thanks.
> 
> Augusto
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
> 


=
*
http://www.geocities.com/mimodit
*

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] "FileSize" --> fread($fd, 7000)

2001-08-16 Thread Augusto Cesar Castoldi

Hi.

instead use "7000" in "fread($fd, 7000)", i'd like to use the size of the
file opened. How can I know the size of the fopen?

thanks.

Augusto


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]