Magic_quotes_gpc = Incorrect file name after uploading on = solution
Source: Internet
Author: User
Magic_quotes_gpc = on: An error occurred while uploading the file name = The single quotation mark (single quotation mark) is replaced before the solution. Now you can open magic_quotes_gpc for convenience. An error occurred. The first letter of the uploaded file name has been swallowed up. vardump shows that the file name has a problem. Others are normal. after Dmy magic_quotes_gpc = on, the file name has an error. = solved.
In the past, the single quotes were both replaced. 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
------ Solution --------------------
I believe it is a problem with your code. you can var_dump ($ _ POST, $ _ FILES ).
------ Solution --------------------
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 ".
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