reset and begin
7/07/2009

upload using ftp +FileZilla_3.2.4.1_win32-setup.exe

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<?php

$ftpconn=ftp_connect("192.168.1.7") or die ("ke^'t no^'i hong");

ftp_login($ftpconn,"demo","123456") or die("dang nhap that bai");

$target='new/';

$fileup=$_FILES['upload']['name'];

$target=$target.$fileup;



if(move_uploaded_file($_FILES['upload']['tmp_name'],$target)==true){

ftp_put($ftpconn,$fileup,$target,FTP_BINARY) or die("loi");

}

else{

echo"upload loi";

}?>

Bloger Comments
G+ Comments
Comments FaceBook

No comments:

List

Profiles Information


About me : Nothing is 1 vài thứ - 1985

Places I've Lived : I Hà Nội

Home Page : http://www.shimivn.blogspot.com/

Think : 1:1000000000

Languages spoken : Vietnamese,English.

Mobile : sony C2305

dell : i3-Ram 3GB- HDD 250GB .