Re: [PHP] Help with fread()

2003-11-27 Thread Nick Wilson
* and then Rasmus Lerdorf declared > Why not just fread($pagehandle,32768) ? Sure. I just got confused as to why '8912' was on the example and thought it significant. I see it's not now, thanks ;-) -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

Re: [PHP] Help with fread()

2003-11-26 Thread Rasmus Lerdorf
Why not just fread($pagehandle,32768) ? On Wed, 26 Nov 2003, Nick Wilson wrote: > Hi all, > > I'm using the code below to open webpages and read them into a variable. > I got the example from the manual but am confused as to how to limit how > much of the page to read. > > Ideally, I just want to

[PHP] Help with fread()

2003-11-26 Thread Nick Wilson
Hi all, I'm using the code below to open webpages and read them into a variable. I got the example from the manual but am confused as to how to limit how much of the page to read. Ideally, I just want to read the first 30k of each webpage. Could somebody please show me how? [EMAIL PROTECTED]($

[PHP] Help with fread

2003-05-29 Thread Erich Kolb
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 t