Cesar D. Rodas, web development. Technology news. PHP, MySQL, Apache, C, Bash, ASM

smb stream wrapper for PHP

Today in PHPclasses I saw a new class that is very useful. A Stream wrapper that uses the smbclient to access access Windows shared files.

Very useful when you need to work with Windows and shared resources, because use the native PHP may not work correctly sometimes, not because there is a bug, that is simple a windows bug, for further details about the problem, please read this.

The class description said:

This class is a stream wrapper that can be used to access remote files and directories on Windows or other operating systems that support the SMB protocol.

It uses the smbclient program to access Windows network shares, so it works under Linux, other Unix platforms or even under Windows with the Samba client packages installed.

The class implements functions to create, read and write to files available in the local network shares.

It can also list the local network hosts, available shares in an host, and directories of a share.

Congratulations Victor M Varela, and keep writing good and useful class.

While I was writing this post I saw that this class has a Notable package notification with following comment of the site administrator:

Useful package that can simplify accessing local network files on Windows shares or other operating systems that support the SMB protocol.

Once again congratulations Victor.

Download the class

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages. Digg del.icio.us StumbleUpon Technorati BlinkList Furl NewsVine Reddit

Leave a Reply


Fatal error: Call to undefined function display_cryptographp() in /home/.schmuckie/saddor/cesarodas.com/wp-content/themes/first-spring-10/comments.php on line 94