Home >Backend Development >PHP Tutorial >Share a Chinese verification code again

Share a Chinese verification code again

WBOY
WBOYOriginal
2016-07-25 09:11:171667browse
Share a Chinese verification code
  1. /*
  2. Please indicate the source of reprinting is ITBBS.
  3. For modifications, please contact the author’s email: Smartly@itbbs.cn
  4. */
  5. Header("Content-type: image/PNG");
  6. $str = "The first thing is that in the discord and the greatness of this master, we are the best. When employing local people, we need to use domestic production to divide students. For students at lower levels, they will be able to participate in the peer-to-peer reform and many children will be added to the society later. The power line of the high-quality long-term party has established a solid and deep-rooted law to represent the water, physical and chemical struggle to realize the two political, three good, and ten wars, and the anti-agricultural and non-agricultural road map to achieve the correct conclusion and open a new conclusion. When the two talented teams agree on how they should shape their thinking, they should focus on changing the key points of their thinking and the internal factors. Yue Mao then asked that it was the most external and did not see the five solutions to the forest. The head of the group only knew that the four horses recognized the sub-text, but the strips were more grams and public holes, leading the flow into the receiving seat, and flying crude oil. The quality of the title pointed out that the district construction inspection activity has been very educational and determined. Hereby, Chang Shiqiang, Ji Shao Shao, has established a unified system and transferred to the system. The heat transfer management department will repair the disease-causing elephants, and the old people will be equipped with six types. The safety belt will be increased every east, and the wind will be returned to the south, Guangzhou, Lunke, and the north to build up the truck schedule and the work will be integrated. The steps are collected and numbered, the temperature is installed, the axis is known, the monochrome is solid, the fast defense is recorded in the Rashidal field, the calendar is woven, the flower is requested, the oral judgment is passed on, the situation is picked up, the gold realm is judged, the layers are stopped, the edge is clear, and the calligraphy is studied The state factory must be away from the sea again, and the children's youth talent certificate is low and cross-international. Rate the current selection of Yangde, check the difference, half the enemy, Shi Xiangshou, Hua Jue, name red, continued uniform medicine, mark, difficult to save, measure the body, tighten the liquid, send the accurate weight angle, reduce the dimension board, Xu break, explain the technique to eliminate the bottom bed, the potential end sense. Go to God, Hecun, organize a photo, engage in Yamo tribe fire section, it is suitable to talk about, according to the value of beauty, Huang Yibiao, morning shift, wheat cut letter, rowing sound, Zhang Mihao, Hou Cao, He Shufei, following the right city Yan Jingluo Check the left page of the anti-Su Xian bitter British and quickly say that the bad move is about the Heiwu Peihu River Emperor in the province of Bachai. How to plant the capital to help the king's eyes? Agent Xuanhuan fell off the first foot wave Chengfen Jianfu fish followed the test and carved enough to rely on the full husband to lose the package and promote the branch bacterium. The rock protection engineer lifted Qu Chunyuan's super-negative sand seal to replace Taimo poverty and reduce Yang Yangjiang's analysis of mu wood. Yanqiu Chao Medical School Gu Ni Dao Song Tingwei lost slip station another Wei Zi Gugang wrote Liu Weilue Fan Gong A Kuai certain skill set friend limited item Yu rewinding Chuang Lv Yu let Gu Yuan help Chu Pi broadcast Youzhan Death Poison Circle Weiji's training and control stimulates the call of the clouds and the splitting of the grains and grains. The room is light and the blood is times deficient. The pump is very rich. The city rushes and sprays the soil. Jian Fuzhu. Partial grain eats executive valve mine village responsibility matures securely seizes hard price Nufanqijia pre-job review back-association damage cotton intrusion dust although spear thick Luo mud Pi sue egg box palm oxygen love stop once dissolved camp final outline Meng money to be exhausted Russia Shrink the sand and retreat, Chen Qiu Fen, carry the cells, which is exploited, rotated, levied, trough, held upside down, still ah, fresh bar card, rough introduction, drilled, chased weak feet, afraid of salt end, Yinfeng, compiled and printed, bees rushed to expand the wound, expose the core edge, swim around, vibrate, and Cao Wuyu. Very fast brilliance heterogeneous paper-free night town Jiuli cylinder clip Nianlan Yinggou B? Confucianism kills steam phosphorus hard crystal inserts ethyl oxide and burns joy iron supplements our bud Yong tile pours carbon performance Wei attached tooth bud Yong tile oblique irrigation Ou Xian Shun Zhu Yang Corruption please reveal the danger of the pulse, it is appropriate to smile like a tail bundle, a strong and violent enterprise, the ears of vegetables, the Chu and Han Dynasties, heal the green, drag the cow's identity, dye it in autumn, forge jade, and treat the tip of the well in the summer. Guanzang dares to make the cracks in the furnace shell, the sulfur coal greets the cast and sticks to explore. In the thin tenth day, good fortune is indulged in the ceremony. I wish to hide the remaining thunder and extend the smoke. The sentence is pure, gradually plowing, running over the swamp, slow planting, Lu Chifan, the tide crosses the cone, the Xichi, the ship is ruined, and the fake light is said. Entrust Huo Zhehuai to cut tribute and present powerful wealth and rituals. Shen refining hemp and sinned. The ancestors rested, wore cars, and sold goods. Rats drew paintings, fed dragons, guarded the building, and sang Han Xi. Brother washed away the waste and accepted the belly. He recorded the mirror, the woman was evil, and the village wiped danger. The clock shakes, the handle debates, the bamboo valley sells the chaos, the bridge, the Ober, rushes down the road, the wall nets, cuts off the wild remains, conspires to get rid of the class, the town is prosperous, the endurance is aided, the key is returned, the fuqing gathers around the motor, the busy dance meets the cable, Gu Jiaoyang Lake, Dingren audio tracks Broken lamps were extended to avoid death, and the emperor Liu Hajie, Gan Nuo, Xian Nong, and the island were attacked. Zhao Shao Hu Hu Tong Feng Ling Chai Spring Wu Jumped to Shang Ding Qin Shao Chai Liang Sheng Ji Special Hill Digging Blade Opera Pile He He Che Heng Qin Film Chapter Published in the Record Lospora Bo League buys Yang Zongjiao Saiqi filter silicon carbon stock sitting steamed condensation actually trapped in the gun Li save risk dark hole criminal tube you song arc explosion ridiculous Tuwei Jin arm barrier brown land ah Jianzun Doubamo arrived Sangpo seam police pick dirt Ice and Cambodian mouth, what kind of rice plastic is sent to Zhao Mingpad, Kang Zunmu is raped by Yuanqiang, the flesh brother, Wu Minhui, forgets clothes, Sun Linling deceives Xiu, borrows Dandu ear, shaves tiger pen, thin Kunlangsa tea drops, shallowly cuddles the hole, covers Lunniang's ton. The mother-in-law in the sleeves, the purple opera tower, was shaken by the hammer. Youcheng Wu Zhidan allowed the rebellious livestock prisoners to touch the rust and sweep the glass. The wall moves towards the other side, the ink blocks the opening, the reverse unloading, the fog crown Bing Street, the radiating intestines, Fu Ji, Rui, startled, squeezed for a second, hanging mulansen, sugar, holy concave pottery, late silkworms and billions of moments";
  7. $imgWidth = 140;
  8. $imgHeight = 40;
  9. $authimg = imagecreate($imgWidth,$imgHeight);
  10. $bgColor = ImageColorAllocate($authimg,255,255,255);
  11. $fontfile = "heiti.ttf";//This is the path of the font, you can define it yourself
  12. $white=imagecolorallocate($authimg,234,185,95);
  13. imagearc($authimg, 150, 8, 20, 20, 75, 170, $white);
  14. imagearc($authimg, 180, 7,50, 30, 75, 175, $white);
  15. imageline($authimg,20,20,180,30,$white);
  16. imageline($authimg,20,18,170,50,$white);
  17. imageline($authimg,25,50,80,50,$white);
  18. $noise_num = 800;
  19. $line_num = 20;
  20. imagecolorallocate($authimg,0xff,0xff,0xff);
  21. $rectangle_color=imagecolorallocate($authimg,0xAA,0xAA,0xAA);
  22. $noise_color=imagecolorallocate($authimg,0x00,0x00,0x00);
  23. $font_color=imagecolorallocate($authimg,0x00,0x00,0x00);
  24. $line_color=imagecolorallocate($authimg,0x00,0x00,0x00);
  25. for($i=0;$i<$noise_num;$i++){
  26. imagesetpixel($authimg,mt_rand(0,$imgWidth),mt_rand(0,$imgHeight),$noise_color);
  27. }
  28. for($i=0;$i<$line_num;$i++){
  29. imageline($authimg,mt_rand(0,$imgWidth),mt_rand(0,$imgHeight),mt_rand(0,$imgWidth),mt_rand(0,$imgHeight),$line_color);
  30. }
  31. $randnum=rand(0,strlen($str)-4);
  32. if($randnum%2)$randnum+=1;
  33. $str = substr($str,$randnum,8);
  34. $str = iconv("GB2312","UTF-8",$str);
  35. ImageTTFText($authimg, 20, 0, 16, 30, $font_color, $fontfile, $str);
  36. ImagePNG($authimg);
  37. ImageDestroy($authimg);
  38. ?>
复制代码
Share a Chinese verification code again


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