Home Backend Development PHP Tutorial The GD library is open, why is my verification code not displayed when running on the win2003 server? _PHP Tutorial

The GD library is open, why is my verification code not displayed when running on the win2003 server? _PHP Tutorial

Jul 13, 2016 am 10:51 AM
superior Why exist show server code run verify




The GD library is open, why is my verification code not displayed when running on the win2003 server?

?PNG IHDRF 9???kIDATX???? ? ???a'? ????)Hu?HN? O??s ? ? ? ? ????@m}Fc ? =???JL}????Qr J D?(9 % ??@? ?? Qr J l?? ? П??r?IEND?B`?

Such an error is displayed, but the local XP system can display it normally. Please tell me what the reason is. The first thing I can confirm is that the GD library has been opened...

Let me answer




D8888D reply content------------------------------------------------- ----------
header('Content-Type: image/png');
imagepng($image);
imagedestroy($image);

D8888D reply content------------------------------------------------- ----------
No, the problem is still not solved....

D8888D reply content------------------------------------------------- ----------
But it works on this machine, but not after uploading, and the GD library is also opened. depressed.

D8888D reply content------------------------------------------------- ----------
GD2

D8888D reply content------------------------------------------------- ----------
It has nothing to do with the GD library. I checked and GD2 also exists....

D8888D reply content------------------------------------------------- ----------
It's obviously a header problem. Check it carefully

D8888D reply content------------------------------------------------- ----------
The problem was found, it was the BOM problem of UTF8! ! ! It's OK to remove it.


www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/632609.htmlTechArticleThe GD library is open, why is my verification code not displayed when running on the win2003 server! ?PNG IHDRF9???kIDATX???? ? ???a'?????)Hu?HN? O??s????????@m}Fc?=???JL} ????Qr JD?(9%??@???Qr Jl...
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

Repo: How To Revive Teammates
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

WordPress site file access is restricted: Why is my .txt file not accessible through domain name? WordPress site file access is restricted: Why is my .txt file not accessible through domain name? Apr 01, 2025 pm 03:00 PM

Wordpress site file access is restricted: troubleshooting the reason why .txt file cannot be accessed recently. Some users encountered a problem when configuring the mini program business domain name: �...

Why does an error occur when installing an extension using PECL in a Docker environment? How to solve it? Why does an error occur when installing an extension using PECL in a Docker environment? How to solve it? Apr 01, 2025 pm 03:06 PM

Causes and solutions for errors when using PECL to install extensions in Docker environment When using Docker environment, we often encounter some headaches...

Django time range query: Why does the __range parameter not contain an end date? Django time range query: Why does the __range parameter not contain an end date? Apr 01, 2025 pm 04:06 PM

Question about Django time range query: Why is the end date not included? When using Django for database queries, we often need to use the time...

Jiutian Computing Power Platform Task: Will the computing task continue to run after the local computer is shut down? Jiutian Computing Power Platform Task: Will the computing task continue to run after the local computer is shut down? Apr 01, 2025 pm 11:57 PM

Discussion on the task status after the local computer of Jiutian Computing Power Platform is closed. Many users will encounter a question when using Jiutian Computing Power Platform for artificial intelligence training...

Why can't my code get the data returned by the API? How to solve this problem? Why can't my code get the data returned by the API? How to solve this problem? Apr 01, 2025 pm 08:09 PM

Why can't my code get the data returned by the API? In programming, we often encounter the problem of returning null values ​​when API calls, which is not only confusing...

Failed to obtain Taobao order data: Why do you still jump to the login page with cookies and URL parameters? Failed to obtain Taobao order data: Why do you still jump to the login page with cookies and URL parameters? Apr 02, 2025 am 06:54 AM

Difficulty in obtaining Taobao order data: Bypassing the challenge of login page Many friends will encounter a difficult problem when trying to obtain information about purchased products on Taobao:...

Why does a box appear when adding Chinese characters to a picture in PHP? How to solve it? Why does a box appear when adding Chinese characters to a picture in PHP? How to solve it? Apr 01, 2025 pm 12:12 PM

The problem of boxing when adding Chinese characters to images is found when PHP adds Chinese characters to watermarks. When adding Chinese characters to images, many developers will encounter a strange problem: Chinese characters become...

See all articles