php´Ómssql¶ÁblobÀàÐÍÏÔʾͼÏñ - PHP / »ù´¡±à³Ì
ÒòϵͳÐèÇ󣬽«Í¼Ïñ·ÅÈëmssqlÖУ¬×Ö¶ÎÀàÐÍΪblob£¬Í¼ÏñΪjpgÀàÐÍ£¬ÈçÏ´úÂëÖ´ÐÐʱ²¢²»ÄÜÕýÈ·Êä³öͼÏñ£¬Âé·³¸÷λ°ï濴һϣ¬·Ç³£¸Ðл!!
<?php
include_once("db.class.php");
// retrieving
$db = new odbc_conn();
$result = $db->res("SELECT Img_Th_data from LB_IMG ");
$row = odbc_fetch_array($result);
$data = $row['Img_Th_data'];
header('Content-type: image/jpg');
echo "</br>[Img_Th_data]:</br>";
print $data;
?>
¸ÐлÀÏ´óµÄ´ð¸´¡«¡«
echo "</br>[Img_Th_data]:</br>";
Õâ¸öÖ»ÊÇÎÒµ±Ê±µ÷ÊÔʱ¼ÓÉϵıêʶ£¬Ó¦¸ÃûӰÏ죬ȥÁËÖ®ºó»¹ÊDz»ÄÜÏÔʾÄØ
лл£¬ÎÒÒѾµ÷ÊÔºÃÁË
Ïà¹ØÎÊ´ð£º
ÔÚfirefoxä¯ÀÀÆ÷ÏÂÕý³£µÇ½£¬µ«ÔÚIE ä¯ÀÀÆ÷ÏÂÎÞ·¨µÇ½£¬Ã¿´Î¶¼»áÖØÐÂÉú³ÉÒ»¸ösession,ÔÀ´µÄÄÚÈݻᶪʧ¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£Ôõô»ØÊÂ......
¾ßÌåÇé¿ö£¿²Â²â¿ÉÄÜÊÇÄã±¾»úIEµÄcookie±»½ûÓÃÁË°É£¬¿ÉÒÔ¿´¿´
cookie Æ ......
ʹÓÃjavaÔÚwindows7 32λÏÂÁ¬½ÓMSSQL¡£
Á½Ì¨»úÆ÷£¬windows7 32룬ÔÚ¿ØÖÆÃæ°åÀïÃæÈ«²¿ÉèÖÃÓïÑÔºÍÇøÓòÑ¡Ïenglish-unitedstates
ΨһÇø±ðÖ»ÓÐÔÚ°²×°SQL server 2008µÄʱºò Ñ¡ÔñµÄ×Ö·û¼¯²»Ò»Ñù£¬
exec sp_helpsor ......
ÎÒ×î½üдÁ˸ömailÖ´ÐкóûÓгöÏÖ´íÎóÐÅÏ¢Ö´ÐÐÍê±ÏºóÓÊÏäÀﲢû·¢ËÍÓʼþ£¬Çë¸÷λ°ïÎÒ¿´¿´
ÎÒÓõĵÄÊÇiis smtp
<?php
$to = 'xueyuxia1988@sohu.com';
$subject = 'the subject';
$message = 'hello';
$ ......
ʹÓÃÍøÉ쵀 phpexcelreader À࣬½«ÐéÄâ»úÄÚ´æµ÷ÕûÖµ1024M£¬excelÌå»ýΪ224M£¬ÓÃphpexcelreader¶ÁÈ¡µÄʱºòÄÚ´æ¸ù±¾²»¹»Óã¬Çë½Ì¸÷λÓÐʲôºÃµÄ·½·¨¶ÁÈ¡ÕâÖÖ´óÌå»ýµÄ excel ÎʼÛô£¿
excelÌå»ýΪ224M
·þÁË¡£¡£¡£ ......