Special Chars on Form to Image (GD), not displaying properly.
| From: | Louie Miranda | Date: | Wed, 22 Feb 2006 04:38:19 +0000 |
| Subject: | Special Chars on Form to Image (GD), not displaying properly. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-230871@lists.php.net to get a copy of this message | ||
Im having a trouble displaying special characters like #, + on GD (Jpeg) -
Image. When i typed in on the form +88 it only shows 88 and the + sign is
missing.
My code:
<?php
.
$line_1_1 = urldecode($_GET["line_1_1"]);
.
// display my text from $line_1_1
imagettftext($background, 13, 0, $new, 65, $black,
"includes/resources/$fonts", "$line_1_1");
.
?>
I made a couple of tests and found this variables.
The data that will be pass: +88and#
Data from the url (address box): &line_1_1=%2B88and%23
Image displayed: 88and - only missing + and #
What could i be missing?
--
Louie Miranda (lmiranda@gmail.com)
http://www.axishift.com
//JSM-W