PHP uploads files to the specified directory (Zend Studio 12.5)

Source: Internet
Author: User
Tags zend

PHP uploads files to a fixed directory

2016-4-3 in Hangzhou

"Note" This development is based on Zend Studio 12.5

Specific process:

1. Double-click to open "Zend Studio"


2. Name The Upload1, choose your own storage path, and the PHP version number, then click Finish


3. Double-click Open upload1 folder


4. Right-click, select "New------PHP File"



5. Rename the file to upload.php, then select "Next" and select the template. :


6. Replace the selected contents of the Red box


7.IE The browser opens the file to see the effect.


8. Select the folder, right click, select "New------PHP File", named Action1.php.

9. new folder named Upload_save


Open the file action1.php, fill in the following code


This is all done.


PHP uploads files to the specified directory (Zend Studio 12.5)

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.