[pmwiki-users] recipe Captcha can not display image
Petko Yotov
5ko at 5ko.fr
Sat Apr 7 19:42:33 CDT 2012
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
More information about the pmwiki-users
mailing list