Php file retrieval path

Source: Internet
Author: User
Php obtains the file path Hi. an input specifies the type as file to obtain the file path. But what I want to do is to specify a folder and then process the files in the folder. What can I do. In addition, normally & lt; input & nbsp; type = file & gt; opens a local file. can I specify other locations on the network, such as "\ php to obtain the file path?
Hi,
There is an input that specifies the type as file to obtain the file path.
But what I want to do is to specify a folder and then process the files in the folder.
What can I do.

There is also the general The local file is opened. can I specify other network locations, for example, \ 192.168.10.45"
------ Solution --------------------
No. you can use the flash method to renew the volume.
------ Solution --------------------
The client and the server can be processed on the same machine, instead of using file, but a common input box that inputs the path.
This is equivalent to passing a parameter to another php (or itself)

But it won't work through the network. permission problems
------ Solution --------------------
You are talking about logging on to the client to obtain some permissions on the server.

But what you said on the top floor is the server's permission to operate client files.
Do you think that if you can operate the visitor's machine at will, do you dare to visit the php website-whether you dare not, I do not dare

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.