Php import local excel files to online databases-php Tutorial

Source: Internet
Author: User
Php import local excel to online database my program can import local excel to the local database, but it will not work if it is uploaded to the server ??? Do you want to upload the local excel file to the server and then import it ..... Only 22 points... Sorry .... Share with php import local excel to online database
My program can import the local excel file to the local database, but it cannot be uploaded to the server ??? Do you want to upload the local excel file to the server and then import it ..... Only 22 points... Sorry ....

Share:


------ Solution --------------------
Php_value upload_max_filesize = 10 M
Php_value post_max_size = 10 M
Valid only in. htaccess

Ini_set ('upload _ max_filesize ', '10m ');
Ini_set ('post _ max_size ', '10m ');
It does not take effect, because the file has been passed over before the execution.

You should be in php. ini
Upload_max_filesize = 10 M
Post_max_size = 10 M
And restart the web service.

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.