PHP Classes

smb4php: Stream wrapper to access Windows shared files

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (7)   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 34%Total: 1,989 All time: 1,975 This week: 92Up
Version License PHP version Categories
smb4php 0.8GNU Lesser Genera...4.3Networking, Files and Folders, Stream...


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.

Innovation Award
PHP Programming Innovation award nominee
September 2007
Number 8

Prize: One copy of DWebPro Standard License
SMB is a protocol used for providing access to shared files and printers usually in local networks of Windows machines.

This class implements a stream wrapper that lets you access shared files and directories available in a local network just like you access local machine files from PHP scripts using functions like fopen, fread, frwrite, opendir, etc..

Manuel Lemos
Picture of Victor M Varela
  Performance   Level  
Name: Victor M Varela <contact>
Classes: 2 packages by
Country: Spain Spain
Age: 51
All time rank: 44612 in Spain Spain
Week rank: 341 Up16 in Spain Spain Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file smb.php Class smb stream wrapper for PHP

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,975
This week:92Up
 User Ratings  
 All time