9.
输入表单替换html代码
修改为:
<table><tr><td>
<?=empty($addr[userpic])?"":"<img src='".ehtmlspecialchars(stripSlashes($addr[userpic]))."' width=180px; height=240px; >"?>
</td></tr>
<tr><td>
<input type="file" name="userpicfile">
</td></tr></table>
宽度180,高度240,可自行修改。
上传以下图片: