php - Identifying Specific Characters from Text Input -
original title :
To read and count only the events of limited characters For A, G, C, T, the input text exists in the file, for example, drag a thin vertical rectangular barcode picture using only 100 and GD
of 500 and it only Specify the first 10 characters and draw the barcode image instead of the specified 100 characters
I guess you do not think so much in the first 10 letters, but when the point is T is found then, the wrong place snippet depicting this image. The loop can continue up to 100, possibly producing some more images (with each new T), but I do not know the PHP behavior in such cases because some HTTP responses are easily written ...
Alternatively you can see the last of these images at any rate, by setting the wrong location
header ("content-type: image / PNG "); Imagepng ($ img); Imagedestroy ($ img);
Things should start looking more as expected.
Comments
Post a Comment