NYCPHP Meetup

NYPHP.org

[nycphp-talk] server mappings

csnyder chsnyder at gmail.com
Thu Dec 7 17:00:53 EST 2006


On 12/7/06, Aaron Deutsch <tacofighter at gmail.com> wrote:
> I'm trying to figure out how to map servers in such a way so I can use a php
> script on one server to manipulate files on another without using ftp
> functions.  For example: I have a file upload form on one server that will
> use move_uploaded_file and put it on another server.   I'm not the
> networking guy so I'm not sure what to tell them to do. I was told about SMB
> web client ( http://smbwebclient.sourceforge.net/), but I
> haven't tried to set it up yet.  Any recommendations?
>
> Our servers are windows 2000, and running php 4.3
>
> thanks,
> aaron d.

Windows comes with filesharing, you don't need a separate client.

Create a shared folder on the storage host. Map it as a network drive
on the web host. The web host can now write files to it as if it was a
local drive. You don't need anything beyond plain old Windows
networking.

-- 
Chris Snyder
http://chxo.com/



More information about the talk mailing list