Special Chars on Form to Image (GD), not displaying properly.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx)
http://www.axishift.com

//JSM-W

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux