An error occurred while uploading the file name after magic_quotes_gpc = on = solving

Source: Internet
Author: User
Magic_quotes_gpcon. Now you can open magic_quotes_gpc for convenience. An error occurred. The first letter of the uploaded file name is swallowed up.
Vardump: the file name is incorrect. everything else is normal.
Dmytro tolk1_- Photo.jpg is changed to mytro tolk1_- Photo.jpg .. I don't know why


Reply to discussion (solution)

I believe it is a problem with your code. you can var_dump ($ _ POST, $ _ FILES ).

Php5.4 has abandoned the magic_quotes_gpc switch
Php5.3 is also disabled

If you have to open your own ideas, the consequences are of course "conceited ".

I believe it is a problem with your code. you can var_dump ($ _ POST, $ _ FILES ).

I 'd better use the quotation marks or real_escape .. What problems have you found?

I believe it is a problem with your code. you can var_dump ($ _ POST, $ _ FILES ).

Yes .. If you upgrade PHP before, there will be no such trouble.

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.