Jump to content

mkdir() UNC paths? ?? ? HELP!


closerwalk

Recommended Posts

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

}

 

 

 

?>

Link to comment
https://forums.phpfreaks.com/topic/73383-mkdir-unc-paths-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.