UGiA PHP UPLOADER V0.2
================================================================================

Copyright 2005 legend <legendsky@hotmail.com>

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.


б
- Ͽϴ޴ļ
- ʵʱʾϴ״̬
- ֶ֧ļϴԼϴ
- ûýӿ
- ݲͬ
- ...

÷
1.upub0.2.rar, upuĿ¼ѹվĳһĿ¼¡upu/temp/, upu/files
  Ŀ¼Ȩ޸Ϊ755

2.upu/misc/upu.js, ޸var basePath  = "/upload/upu/"; ΪupuվĿ
  ¼·

3.Ȼڰϴҳм
  <script type="text/javascript" src="upu/misc/upu.js"></script>,
  upu/misc/upu.jsΪupu.js·Ȼ<form>ǩм
  onsubmit="return upuInit(this)"

4.ļϴҳʹ$_POSTȡ

ע⣺
1. UPUҪphp4.3.0ϰ汾socketչ

2. upu/tempΪϴʱļĿ¼, upu/filesΪļĿ¼,Ŀ¼
   upu.class.phpָ

3. <form>Ҫenctype="multipart/form-data"ԣactionΪļϴɹ
   Ĵҳ棬Ҳ˵<form>ȫ˼·дͿˣΨһͬ
   Ҫonsubmit="return upuInit(this)"

4. ϴɹ󣬿ʹ$_POSTȡݣֱͨ
    $_POST['']ɻֵһļ򷵻һ
    $_POST[''] = Array (
        [filename] => 
        [clientpath] => 
        [savepath] => 
        [filetype] => 
        [filesize] => 
        [extension] => 
    )

4. ΪGNUͨùȨ涨ͱ
   Ϊ룯޸.ǻʹĿĶԷȻκεΣ
   ޶ԻضĿΪĬʾԵGNUͨùȨ
   http://gnu.freehostingguru.com/gpl/


author:  legend <legendsky@hotmail.com>
website: http://www.ugia.cn

