Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

php¶ÁÈ¡mysqlÊý¾Ý±íÖеÄͼƬÎÞ·¨ÏÔʾ

°´µÀÀíÀ´Ëµ£¬Í¼Æ¬ÊÇÓ¦¸Ã°´ÕÕ·¾¶´æÔÚÊý¾Ý±íÖеģ¬ÓÉÓÚ¹¤×÷ÐèÒª£¬ÐèÒª½«Í¼Æ¬ÒÔ¶þ½øÖÆÁ÷µÄÇé¿ö´æÈëÊý¾Ý¿â£¬ÏÖÔÚ½«Êý¾Ý±ítableÖÐÒ»¸ö×Ö¶Îpicture£¬ÀàÐ͸ÄΪ longblob£¬ÒѾ­Äܳɹ¦½«¶þ½øÖÆÁ÷дÈë¸Ã×ֶΣ¬¿ÉÊÇÎÒÐèÒª½«¸ÃͼƬÔÚÄÚÈÝÒ³ÖÐÏÔʾ³öÀ´£¬ÒÔÏ´úÂëÊÇÎÒÔÚͼƬµÄλÖÃǶÈëµÄphp´úÂ룬ͼƬËÀ»î²»ÏÔʾ£¬´ó¼Ò°ïæ¿´¿´Ôõô»ØÊ£¿£¨´æÈëÊý¾Ý¿âµÄͼƬҲÊÇjpg¸ñʽµÄ£©
                                                     
<?php                                                     
include("config.php");
mysql_connect($host,$username,$password) or die("Unable to connect to SQL server");
@mysql_select_db($db) or die("Unable to select database");
$sql=mysql_query("SELECT * from table where id=5") or die("Can't Perform Query");
Header( "Content-type: image/jpg");
$r=mysql_fetch_object($sql);
echo $r->picture;
?>                                                     
ÆäÖÐconfig.php°üº¬Á˱äÁ¿µÄ¶¨Òå
                  &


Ïà¹ØÎÊ´ð£º

PHPÀ©Õ¹CʱµÄÎÊÌâ

ÎÒÓÃPHPÀ©Õ¹Cʱ£¬ÓõÄÊÇÔ´ÂëextĿ¼ÏµÄ./ext_skel
×îºó±àÒë×ÜÊDz»ÄÜÉú³ÉÀ©Õ¹Ä£¿éµÄ.so¶¯Ì¬¿â£¬ÎÒÓõİ汾ÊÇ5.3.0£¬
ÕâÊÇÔõô»ØÊ£¬¸ßÊÖ½â´ðÏÂ

²»ÄÜÉú³ÉʱÓÐɶÌáʾÐÅÏ¢£¿

ÔËÐÐÁË/ext_skel --extname=Ä ......

ÇóÖú¸ßÊÖ°ïÎÒ°ÑһС¶ÎPHP´úÂëת»»³ÉASPµÄ

<?php
if($_SERVER['HTTP_REFERER']!=''){
  @header("Content-type:image/jpeg");
  echo file_get_contents("xlight.jpg");
}
else{
  @header("location:ht ......

php ¶ÁÈ¡excelʱ¡£±àÂëת»»ÎÊÌâ

Çë½Ìexcel µÄ±àÂëÎÊÌâ
excelÖдæÔÚ Î÷°àÑÀÓÖÐÎÄ£¬Ó¢Ó¶íÓï °¢À­²®ÓµÈ¶àÖÖÓïÑÔ php ¶Áȡʱ»ù±¾Õý³£ÏÔʾ£¬¾ÍÊÇÎ÷°àÑÀÓ·¨ÓïµÄ Groupe électrogène marins ÕâÖÖµ¥´ÊµÄºìÉ«×Ö·û»á³öÏÖÂÒÂë¡£±àÂëÕ ......

¹ØÓÚPHPÒ»¸öºÜÆæÃîµÄÎÊÌâ.

ÎÒÔÚʹÓÃphpÒ»¶Î´úÂëÖÐ,Ô´´úÂëÊÇ
<input type="file" name="file_source" id="file_source" class="edt" value="<?=$file_source?>">
ÊÇÒ»¸öÉÏ´«Î ......

ÍƼö¼¸±¾phpµÄºÃÊéÂðÈëÃŽø½×¶¼¿É

ÓÐasp»ù´¡ ¸Ð¾õvbsÓÃ×ÅÂù±ðŤµÄ תphpËãÁË


php100ÍøÕ¾¿´¿´ÀïÃæµÄÊÓƵ½Ì³Ì£¬ÊéÍƼöphpºÍmysql web¿ª·¢µÚËÄ°æ

phpÓï·¨Êֲᣡ£¡

ÔÚÍøÉÏÏÂÔØһЩµç×ÓÊé¾ÍÐÐÁË ºÃÈÝÒ×ÈëÃŵÄ

phpºÍmysql web¿ª·¢µÚÎå°æ
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ