All, The syntax is correct... It's not a quotes problem. I have the path in quotes in my actual code. Jeffrey S. McKeon Manager of Information Technology Telaurus Communications LLC jmckeon@xxxxxxxxxxxx +1 (973) 889-8990 ex 209 > -----Original Message----- > From: Andy Pieters [mailto:mailings@xxxxxxxxxxxxxxxx] > Sent: Wednesday, June 01, 2005 9:34 AM > To: php-general@xxxxxxxxxxxxx > Subject: Re: Copy to network share > > > 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 should put the dirname in quotes > > Like $dirhandle=opendir("\\\\Server\\Share"); > > > Regards > > > Andy > > -- > Registered Linux User Number 379093 > -- --BEGIN GEEK CODE BLOCK----- > Version: 3.1 > GAT/O/>E$ d-(---)>+ s:(+)>: a--(-)>? C++++$(+++) UL++++>++++$ P-(+)>++ > L+++>++++$ E---(-)@ W+++>+++$ !N@ o? !K? W--(---) !O !M- V-- PS++(+++) > PE--(-) Y+ PGP++(+++) t+(++) 5-- X++ R*(+)@ !tv b-() DI(+) > D+(+++) G(+) > e>++++$@ h++(*) r-->++ y--()>++++ > -- ---END GEEK CODE BLOCK------ > -- > Check out these few php utilities that I released > under the GPL2 and that are meant for use with a > php cli binary: > http://www.vlaamse-kern.com/sas/ -- -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php