|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-05-31 07:17 UTC] pajoye@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 08:00:01 2025 UTC |
Description: ------------ cannot display the picture uploaded, only a 'cross' sign displayed. I use apache 2.0.54, php 4.3.6, win2k, oracle 10g, ado 4.11. Reproduce code: --------------- mainly part is here: <?php $db = myconnect(); $rs=$db->Execute("SELECT BLOBDATA FROM BTAB WHERE BLOBID =".$id); print "id=".$id; header("Content-type: image/JPEG"); $row = $rs->FetchRow(); print $row[0]; ?> PLEASE SEE http://forums.oracle.com/forums/thread.jsp?forum=178&thread=233174&message=664237#664237 BOTTOM MESSAGE. Expected result: ---------------- jpeg display normally Actual result: -------------- a 'cross sign' is displayed. if SQL debugging is enabled, a lot of wrong character is displayed.