propelorm/propelorm.github.com — pull request #103 by grEvenX (2012-03-23 10:21:33+00:00)
Title: Added maxLength and offset to stream_get_contents to BLOB example

so peapple don't fall into the same problem I did.
If you try to use stream_get_contents($obj->getBlobField()) multiple times without using offset = 0, you will get "false" on the 2nd attempt and the following attempts since the cursor on the resource pointer has reached the end of the resource.