PHP´æÈëÓëÏÔʾͼƬ - PHP / ¿ªÔ´×ÊÔ´
´ó¼ÒºÃ£¬ÎÒÊǸÕѧPHPµÄ²ËÄñ£¬ÏÖÔÚÓöµ½Ò»¸öÎÊÌ⣬¾ÍÊÇÔõÑù°ÑͼƬÎļþ´æÈëÊý¾Ý¿âÖУ¨ÎÒ²»Ïë´æÔÚij¸öÎļþ¼Ð£©¡£ÔÙ½«Í¼Æ¬¶ÁÈ¡³öÀ´ÏÔʾÔÚWEBÒ³ÃæÉÏ¡£
ÏÂÃæÕâ¶ÎÉÏ´«´úÂëÊÇÎÒÔÚÍøÉÏÕҵģ¬×ÔÒѸÄÁËÏ£¬ÈçÏ£º
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>tupian</title>
</head>
<body>
<form name="image" method="post" action="savetupian.php" enctype='multipart/form-data'>
<table width="80%" border="0" cellspacing="1" cellpadding="3" align="center">
<tr>
<th clospan="2"><font size="4">ÉÏ´«Í¼Æ¬·¶Àý</font></th>
</tr>
<tr>
<td>username</td>
<td><label>
<input type="text" name="id" />
</label></td>
</tr>
<tr>
<td>the photo:</td>
<td><input type="file" name="photo" size='25'></td>
</tr>
<tr>
<td align=right><input type="submit" name="Submit" value="upload" /></td>
<td> </td>
</tr>
</table>
</form>
</body>
</html>
ÏÂÃæÕâÒ»¶ÎÊDZ£´æͼƬµÄ´úÂë¡£ÈçÏ£º<
Ïà¹ØÎÊ´ð£º
Ä¿Ç°ÔÚÎ人ÕÒ¹¤×÷
·¢Ïִ󲿷ֹ«Ë¾ÎÞÍâºõÁ½ÖÖ
Ò»ÖÖÊǸãÍâ°üµÄ ÒªÓÃzend,cakephpµÈÍâ¹ú¿ò¼Ü
»¹ÒªÊìϤÍâ¹ú¿ªÔ´ÏµÍ³
Ò»ÖÖ¹úÄÚµÄ ÎÞÍâºõ dedecms ecshop shopexÕ⼸ÖÖ¸ÄÕ¾µã ÓеĹ«Ë¾ÉõÖÁÄÃһЩ¸üСµÄϵͳ¸ ......
ÔÚfirefoxä¯ÀÀÆ÷ÏÂÕý³£µÇ½£¬µ«ÔÚIE ä¯ÀÀÆ÷ÏÂÎÞ·¨µÇ½£¬Ã¿´Î¶¼»áÖØÐÂÉú³ÉÒ»¸ösession,ÔÀ´µÄÄÚÈݻᶪʧ¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£Ôõô»ØÊÂ......
¾ßÌåÇé¿ö£¿²Â²â¿ÉÄÜÊÇÄã±¾»úIEµÄcookie±»½ûÓÃÁË°É£¬¿ÉÒÔ¿´¿´
cookie Æ ......
Çë½Ì¸ßÊÖ°ï棬session_start£¨£©·ÅÔÚÍⲿµÄÎļþÓà require »ò include °üº¬½øÀ´£¬ÇëÎÊÕâÑù×öºÏÀíÂ𣿣¿´úÂëÔËÐÐÊÇÕý³£µÄ£¬ÕâÑù×öºÏÀíÂ𣿣¿Çë¸ßÊÖÖ¸µã¡£¡£¡£¡£ лл····
require »ò include ......
ʹÓÃÍøÉ쵀 phpexcelreader À࣬½«ÐéÄâ»úÄÚ´æµ÷ÕûÖµ1024M£¬excelÌå»ýΪ224M£¬ÓÃphpexcelreader¶ÁÈ¡µÄʱºòÄÚ´æ¸ù±¾²»¹»Óã¬Çë½Ì¸÷λÓÐʲôºÃµÄ·½·¨¶ÁÈ¡ÕâÖÖ´óÌå»ýµÄ excel ÎʼÛô£¿
excelÌå»ýΪ224M
·þÁË¡£¡£¡£ ......
ÊÇÓñðÈËдµÄÀà×öµÄ£¬»¹ÔʱÌáʾYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO admin(seq,passwd,type,n ......