Joke Collection Website - Public benefit messages - When php makes a verification code, why is the whole screen black and only the middle one is defined?
When php makes a verification code, why is the whole screen black and only the middle one is defined?
Share the experience of a verification code: when the verification code generated by php can't be displayed normally, first open the php script that generates the verification code in the browser and have a look. If some information similar to "picture error" is displayed, it means that your php program can't run normally. Then, you enter "header ("content-type: image/png "); Delete this sentence and refresh this page. You can find problems and solve them step by step according to the mistakes. Finally, no problem. Add "head" and have a look. "Title ("content-type: image/png ");" Tell the browser that "I" is a picture. With this sentence, the browser will not display php errors normally.
- Previous article:Is it true that official website Nanchong won the prize by SMS?
- Next article:How to express the water gun?
- Related articles
- How to send the most sincere blessing?
- Does texting cost money?
- Xiaomi mobile phone can text his wife online for free, but the traffic can't be used. What happened?
- How does the bank treat the public account manager?
- What are the functions of Beijing SMS platform?
- What will be displayed after the password of Huawei Cloud Host is changed?
- Will Kunshan volunteers be notified of their successful registration?
- Beijing, the address of the National Center for Disease Control and Prevention, which way is it from the railway station?
- Two * * * Apple mobile phones and one ld, why can I also receive the short message from the other, asking for help, asking for help,
- Humor, humor, tell me about the complete works