Copy to network share

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

 



I've got PHP 4.3 running on a Win2k IIS 5.0 web server.  I need to
upload a file and then copy it to a samba share (share level security)
on a linux box across the network.

I can 

$dirhandle = opendir(\\\\server\\share);
Readdir($dirhandle);

With no problem but I can't changed to the that dir to copy the uploaded
files to it.

I've tried 

Chdir(////server//share);

Chdir(\\\\server\\share);

But it always returns:

Warning: chdir(): No such file or directory (errno 2) 

Is what I'm trying to do possible and if so, how?

Many thanks,

Jeff

-- 
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