Date: 08/16/01
- Next message: Heiko Maiwald: "Re: [PHP] Ldap package."
- Previous message: Mukul Sabharwal: "Re: [PHP] Try to get PHP to read the content from MS Word"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
It doesnt' matter what you're doing, filesize will
give you what it reads from the particular file.
--- Augusto Cesar Castoldi
<Augusto.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, 700000);
> fclose($fd);
>
> Can I now the size of "$fd"? Well, I need to ready
> all $fd.
> thanks.
>
> Augusto
> ----- Original Message -----
> From: Mukul Sabharwal <mukulsabharwal <email protected>>
> To: Augusto Cesar Castoldi
> <Augusto.Castoldi <email protected>>;
> <php-general <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
> > <Augusto.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:
> > > php-general-unsubscribe <email protected>
> > > For additional commands, e-mail:
> > > php-general-help <email protected>
> > > To contact the list administrators, e-mail:
> > > php-list-admin <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:
> php-general-unsubscribe <email protected>
> > For additional commands, e-mail:
> php-general-help <email protected>
> > To contact the list administrators, e-mail:
> php-list-admin <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: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Heiko Maiwald: "Re: [PHP] Ldap package."
- Previous message: Mukul Sabharwal: "Re: [PHP] Try to get PHP to read the content from MS Word"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

