|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-10-05 17:53 UTC] stas@php.net
[2000-10-28 23:20 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 03:00:01 2025 UTC |
I can't generate wbmp image on the fly :( I have apache 1.3.12, PHP4.0.2 and gd 1.8.3-5, no compiler error/problem but when i try to use ImageWBMP functions, Apache generate message: Document Contains No Data There is my example code: <?php $tt="C"; Header("Content-type: image/vnd.wap.wbmp"); $img = ImageCreate(40,40); $bg = ImageColorAllocate ($img, 255,255,255); $fg = ImageColorAllocate ($img, 0,0,0); ImageFill($img, 0, 0, $fg); ImageString($img, 3, 15, 2, $tt, $bg); ImageWBMP($img); ImageDestroy($img); ?> -------------------------------------- And WML code <?php include("/www/wap/x/config.jr"); ?> <card> <p align="center"> <img src="/wap/mail/img/dd.php" alt="Login"/> </p> </card> </wml> ---------------------------------------