Jump to content

Accessing Folders on a shared network


essjay_d12

Recommended Posts

i tried the folowing simple code...

 

<?php
$dir = "T:/webpages/main/";

// Open a known directory, and proceed to read its contents
if (is_dir($dir)) {
echo 'Exists';
}
else {
echo 'Unlucky';
}

 

It constantly produces 'unlucky' for any dir path i give it

 

ANyone know why?

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.