VTS Posted June 21, 2006 Share Posted June 21, 2006 I looked on php.net at the manual but I didnt find the answer to my question. I was wondering how I would go about copying a file from something like "c:\php stuff\php documents" to another destination.Obviously, you input the source and destination in the function but I am wondering about the spaces in the directory. Will it handle it the same as it would "c:\php_stuff\php_documents"? Any help would be greatly appreciated Quote Link to comment https://forums.phpfreaks.com/topic/12576-need-help-with-the-copy-function/ Share on other sites More sharing options...
zq29 Posted June 21, 2006 Share Posted June 21, 2006 I think as long as the directory is enclosed with quotes you should be fine, which it needs them anyway or you'll probably get a syntax error... Quote Link to comment https://forums.phpfreaks.com/topic/12576-need-help-with-the-copy-function/#findComment-48190 Share on other sites More sharing options...
VTS Posted June 21, 2006 Author Share Posted June 21, 2006 Thanks for the quick response SemiApocalyptic! Quote Link to comment https://forums.phpfreaks.com/topic/12576-need-help-with-the-copy-function/#findComment-48195 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.