Here is the solution, smbwebclient.
Wow is the only thing I could say after running this coool PHP script. From the author,
“smbwebclient.php is a simple script to use Windows Networks from a web browser”
You just have to edit a first few variables that declare the windows share you want to browse and some authorization flags. On running the script, it prompts for your username and password (you can disable it for anonymous browsing) through which you want to access the network. If you have enough permission you can even Add, Delete and Rename Items. Another wonderful feature of the script is that it allows you to tar(compress) and download any folder you wish.
I shouldn’t be calling this a script as this is, in a whole, a web application. And it has allowed us SSUET students to easily access our University’s Course Share Server TAIMOOR from home
. I’ve set it up on http://www.ssuet.edu.pk/~ce06-146/taimoor/explore.php?course=ce312 where ce312 is your course folder. It will ask your SSUET login id for authorization. Our user accounts from the university website has been archived and the link no longer works.
how do you implement this class can you give an example script using this client
You just need to host the script smbwebclient.php on a server that has access to the samba network and change the paths.
Here is how I used it,
http://www.ssuet.edu.pk/~ce06-146/taimoor/explore.txt
Your example won’t load anymore.
Looks like my university has deleted accounts of old students
…
I am getting error when using file_exist() on a file which doesnt exists. It would be a false.
It’s because it has been a couple of years since I graduated and the university has deleted our user accounts
What is the solution ?
The solution is to get the the project smbwebclient from http://code.google.com/p/smbwebclient/.
I have already used it. smb4php-0.8.zip (v 0.8) …