Doesn't this do that?

        $_MyString.=fread($FilePointer,filesize ($FileLocation));

Althought I guess this could suck memory pretty hard on large files, and you
guys want to get away from that...


> Blah...  I see this a lot.  We should probably just relent and make a
> function that reads an entire file into a string.
Yes, please do :)

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to