If you are writing a stream wrapper for Drupal 7 be mindful of two things:
- If your code throws a notice then up to and including 5.3.5 extremely weird bugs exist that completely break your script.
- When reading the whole file (for example:
file_get_contents), as long asstream_readreturns non-empty strings, the return value ofstream_eofis ignored.
.
Commenting on this Story is closed.



![Popular open source software is more secure than unpopular open source software, because insecure software becomes unpopular fast. [That doesn't happen for proprietary software.]](../sites/all/themes/drupal4hu/images/bg-center/bg-center_4.png)















I don't really know about this stream wrappers thing. Maybe you can post more details about this one so that we reader would understand you article very well.
striae