How does PHP determine if the mapping directory exists?

Source: Internet
Author: User
How does PHP determine if the mapping directory exists?
If present, how to get the size and modification time of this directory

Directory for (\\apguds\note\x-section\05C62\) Start running can be opened directly
Do not know the code in PHP for this path is how to write, tried for a long while unsuccessful


Reply to discussion (solution)

Do you need password access to this mapping directory?

 
  Nul 2>&1 "); $dir = $letter.":/"; /Check The Directoryif (Is_dir ($dir) && is_readable ($dir)) {    //Get directory size}

Do you need password access to this mapping directory?

 
  Nul 2>&1 "); $dir = $letter.":/"; /Check The Directoryif (Is_dir ($dir) && is_readable ($dir)) {    //Get directory size}




I do not use the password, can be opened directly, now is to want to know how to determine whether it exists, because it is the operation of the sub-directory
Then exist to get the directory size and modification time
Thank you.

Well, then you can use it.

 
  Nul 2>&1 "); $dir = $letter. ":/"; Check the Directoryif (Is_dir ($dir) && is_readable ($dir)) {    //Get directory size}

Still no use, do you want to create a mapping disk? My computer does not seem to have this (after the run has not created all), I am directly after running the input can be opened

 
  Nul 2>&1 "); $dir = $letter. ":/"; Check the Directoryif (Is_dir ($dir) && is_readable ($dir)) {    echo ' directory exists ';} else{  echo ' directory does not exist ';}? >


This directory is present, but the output does not exist, and how to get the size and date when the other is present.

Look down.

Do not know why, I use this or not, has been solved in another way,
Thank you for your continued attention to the technical support, hope that the community more enthusiastic people like you

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.