On Saturday 07 April 2012 21:41:16 Liu Chang wrote:
> The browser complains: "The image cannot be displayed because it contains
> error.".
> My PHP is able to output text to image, because the following code is
> running OK.

This may happen when some spaces are output before or after the picture code. 

For this reason, it is recommended that all PHP files

* start with the marker <?php as very first thing on the first line
* don't include a closing ?> marker which is btw not required
* are saved "without byte order mask (BOM)" by your text editor

Petko


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to