closerwalk Posted October 15, 2007 Share Posted October 15, 2007 Has anyone had success in using unc paths? It seems that this works from the command line on the server but not from the browser. <?php $path = '\\\\server\\data\\'; mkdir($path, 0777, true) or die ("nope"); if(is_dir($path)) { print 'directory exists'; } else { print 'directory does not exists'; } ?> Quote Link to comment https://forums.phpfreaks.com/topic/73383-mkdir-unc-paths-help/ 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.