PHP web page does not display pictures with spaces and Chinese characters in the file name, 1. file name space and Chinese characters .. 2. relatively better. Otherwise, use absolute ., Can you copy the path address to the url for display? Are you sure your environment supports short labels, and web files do not support Chinese characters? What are the specific problems? Or yes? System problems. Or yes? Server problems? PHP web page cannot show Pictures
PHP web page cannot display images with spaces and Chinese characters in file names
------ Solution --------------------
1. the file name contains spaces and Chinese characters ..
2. relatively better. Otherwise, use absolute.
------ Solution --------------------
Can you copy the path address to the url for display?
Are you sure your environment supports short labels?
------ Solution --------------------
Chinese characters are not supported for web files? What are the specific problems?
Or yes? System problems. Or yes? Server problems?
Wait for the big guy to explain...
In addition. The file name can contain Chinese characters ..
------ Solution --------------------
You use short labels.
Normally
------ Solution --------------------
This should not be a problem with short labels.
Because lz only says that the image is not displayed. Url title may be included with img.
It can be determined that the image is not displayed due to the Chinese name of the file.
I also searched it just now. Or in the fog ..
Sit down and wait for the experts. Description. Haha.
------ Solution --------------------
New guy, add me QQ: 617070140
------ Solution --------------------
When you access the php file in a browser, check the source code to see what src is in img. If the problem is correct, it is related to the operating system of the server. It has nothing to do with php.
------ Solution --------------------
PHP code
$ Small = "125454455_1532 文.jpg"
------ Solution --------------------
Discussion
">
If not, you should not use Chinese. write standard file names.
------ Solution --------------------
It's a space and a Chinese character. you name it .....
Can it be normalized ....
------ Solution --------------------
If it is iis, yes. apache does not support Chinese.