ID:               37953
 Updated by:       [EMAIL PROTECTED]
 Reported By:      theboywhogotlost at gmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         GD related
 Operating System: Windows XP, Red Hat linux
 PHP Version:      5.1.4
 New Comment:

Cannot reproduce.
I see exactly on the image and in the string.


Previous Comments:
------------------------------------------------------------------------

[2006-06-29 02:12:59] theboywhogotlost at gmail dot com

Description:
------------
I put some letters into an array I then want to get some random letters
so I use rand to selet a number between 0 and 25 I then put them
together like this $letters[$ran_num]; this works fine.

I want 5 random letters so I do it the above useing $ran_num, $ran_num2
ect... I then put $letters[$ran_num], $letters[$ran_num2] into an array
called $text.

Now on my image I want each random letter to appear I also want a text
string of the random letters so I do a foreach($text as $g){$string .=
$g; <more code to write letter to image>}

teh text on the image is differant than the text in teh string and I'm
writeing $g to teh image.

Reproduce code:
---------------
http://thephpguy.com/gd_bug.zip

Requires .gdf font (one font provided)

Expected result:
----------------
Letters on image should be the same as the string.

Actual result:
--------------
Random letters on the image string is correct.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=37953&edit=1

Reply via email to