<?php header("Content-Type:text/html;charset=UTF-8"); include "../../function/new_function.php"; include "../../gd.php"; //宣告tool物件 $tool = new My_tool(); if (isset($_POST['submit'])) { //新增目錄 copy($_FILES["upload"]["tmp_name"], "../images/download.doc"); $tool->show('上傳完畢!'); } //submit事件結束符號 ?> <style type="text/css"> <!-- body { margin-left: 9px; margin-top: 20px; margin-right: 0px; margin-bottom: 0px; background-image: url(../../images/mainbg.gif); background-repeat: no-repeat; } body,td,th { font-size: 13px; font-family: Arial, Helvetica, sans-serif; color: #333333; } --> </style>