日期:2011-11-22 浏览次数:20612 次
PHP限制图片上传的格式,如下代码:
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <title>限制上传图片的格式 - www.cxybl.com</title>
- <style type="text/css">
- <!--
- .style1 {
- font-size: 14px;
- font-family: "华文行楷";
- }
- .style4 {font-size: 12px; font-weight: bold; }
- -->
- </style>
- </head>
- <body>
- <table width="406" height="129" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td width="106" height="40"> </td>
- <td width="196&quo