News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
Elizabeth Smith's Blog:
Php User Streams - why doesn't anyone use them?
May 07, 2007 @ 08:04:00

In a new post today, Elizabeth Smith takes a look at one of the lesser used (well, overall) features that PHP has to offer these days - PHP user streams.

PHP user streams are amazing - they're powerful, fun, and make things like a templating system with filters and multiple back ends quick and easy.

Here's a little "test script" that shows you how to implement contexts for your streams. What are contexts? They're resources that hold additional information. Built in php streams, such as the ftp streams, already have contexts you can set. But they're also great to use in your own user land streams.

In the test script, she shows how to open a stream to a few different resources (including passing parameters and user information), grabbing the contents of each.

0 comments voice your opinion now!
user stream example code path fopen user stream example code path fopen



Similar Posts

Mike Potter\'s Blog: PHP Gallery Integration with Flex - With Source Code

Wez Furlong\'s Blog: Using PDO MySQL?

Davey Shafik\'s Blog: 1st Tampa Bay PHP User Group Meeting!

Raphael Stolt's Blog: Creating Zend Framework snippets for TextMate

Atlanta PHP Users Group: February Meeting Reminder (2nd @ 7pm)


Community Events







Don't see your event here?
Let us know!


example code zend ajax release mysql PEAR application releases book framework cakephp database package conference security PHP5 developer zendframework job

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework