Re: [PHP] Copy to network share

2005-06-01 Thread Mikey
George Pitcher wrote: I never managed to get this working with IIS. I could with Apache (win) though, after making sure that Apache was logged in as the administrator. George Thus proving that this is a permissions issue, not a PHP issue! Mikey -- PHP General Mailing List (http://www.php.n

RE: [PHP] Copy to network share

2005-06-01 Thread George Pitcher
I never managed to get this working with IIS. I could with Apache (win) though, after making sure that Apache was logged in as the administrator. George > -Original Message- > From: Mikey [mailto:[EMAIL PROTECTED] > Sent: 1 June 2005 7:54 pm > To: php > Subject: Re: [PHP]

Re: [PHP] Copy to network share

2005-06-01 Thread Mikey
Jeff McKeon wrote: That won't work. I don't want the users mapping a drive on their local machine. I tried mapping it on the server running the IIS and doing as you suggest, but it doesn't work. Jeff Have you made sure that the IUSR account that IIS is running has has got the right permi

RE: [PHP] Copy to network share

2005-06-01 Thread Jeff McKeon
nesday, June 01, 2005 10:04 PM > To: php > Subject: Re: [PHP] Copy to network share > > > its on my local machine, in your case it will your w2k box. > > clive > > Jeff McKeon wrote: > > Is that drive mapped on your local machine or on the web server? > > &g

Re: [PHP] Copy to network share

2005-06-01 Thread Clive Zagno
Subject: Re: [PHP] Copy to network share sorry I ment to send to email to the list I tried the code bellow on my windows machine. I have a mapped network drive on my windows machine (i: drive) that links to a samba share (my htdocs directory on my linux dev machine). It worked fine. echo

RE: [PHP] Copy to network share

2005-06-01 Thread Jeff McKeon
Is that drive mapped on your local machine or on the web server? Jeff > -Original Message- > From: Clive Zagno [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 01, 2005 8:31 PM > To: Jeff McKeon; php > Subject: Re: [PHP] Copy to network share > > > sorry I

RE: [PHP] Copy to network share

2005-06-01 Thread Jeff McKeon
ilto:[EMAIL PROTECTED] > Sent: Wednesday, June 01, 2005 9:34 AM > To: php-general@lists.php.net > Subject: Re: [PHP] Copy to network share > > > On Wednesday 01 June 2005 14:42, Jeff McKeon wrote: > > > > $dirhandle = opendir(server\\share); > > Readd

Re: [PHP] Copy to network share

2005-06-01 Thread Clive Zagno
ay, June 01, 2005 8:19 PM To: Jeff McKeon Subject: Re: [PHP] Copy to network share Hi jave you tried creating a mapped network drive on windows? clive Jeff McKeon wrote: 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 (

Re: [PHP] Copy to network share

2005-06-01 Thread Andy Pieters
On Wednesday 01 June 2005 14:42, Jeff McKeon wrote: > > $dirhandle = opendir(server\\share); > Readdir($dirhandle); > > Chdir(server//share); > > Chdir(server\\share); > > Warning: chdir(): No such file or directory (errno 2) > > Is what I'm trying to do possible and if so, how? You s