RE: Downloading file from local network machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Jonathan,

On Fri, 2008-12-05 at 17:32 +0000, Mayer, Jonathan wrote:
> Thanks Wolf :)
> 
> Yup, I had considered that, although there could be up to 8 different servers so that's 8 seperately mapped drives. 
> 
> If that's the simplest/neatest way, I'll do that, although I did wonder whether there was some other clever another way around it.

Actually there is a much better way to achieve that. I just presented it
at a Microsoft Web Development summit that was mostly about PHP. Here
follows the slide presentation. Check slide 5.

http://www.slideshare.net/manuellemos/what-could-microsoft-do-to-make-php-run-better-on-windows-presentation/

It consists add a PHP stream wrapper class that allows you to use fopen
and other PHP file access functions with a file name URL like this:

smb://user:password@host/path/to/share

The stream warpper class is here:

http://www.phpclasses.org/smb4php

-- 

Regards,
Manuel Lemos

Find and post PHP jobs
http://www.phpclasses.org/jobs/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux