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)

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:...

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 do I get ValueError: too many values ​​to unpack (expected 2) error when using pyecharts' Map? How to solve this problem? Why do I get ValueError: too many values ​​to unpack (expected 2) error when using pyecharts' Map? How to solve this problem? Apr 01, 2025 pm 07:42 PM

The reason and solution to the valueError:toomyvalueestounpack(expected2) error when using pyecharts' Map...

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...

Why does garbled code appear in Chinese when running Python CGI scripts on an Apache server? Why does garbled code appear in Chinese when running Python CGI scripts on an Apache server? Apr 01, 2025 pm 07:15 PM

Python CGI script on Apache server shows the problem in using Apache server to execute Python CGI...

Why does an error 'Property does not exist' when calling a property in a Python class? Why does an error 'Property does not exist' when calling a property in a Python class? Apr 01, 2025 pm 07:18 PM

Problem description is using Python...

Why has Python become the preferred language for scientific computing rather than JavaScript? Why has Python become the preferred language for scientific computing rather than JavaScript? Apr 01, 2025 pm 10:33 PM

The popularity of Python in the field of scientific computing: From the initial choice to the wide application of today's questioner is a web developer, who has a wide range of Python in the field of science...

In Go, why does printing strings with Println and string() functions have different effects? In Go, why does printing strings with Println and string() functions have different effects? Apr 02, 2025 pm 02:03 PM

The difference between string printing in Go language: The difference in the effect of using Println and string() functions is in Go...

See all articles