banner

[Rule] Rules  [Home] Main Forum  [Portal] Portal  
[Members] Member Listing  [Statistics] Statistics  [Search] Search  [Reading Room] Reading Room 
[Register] Register  
[Login] Loginhttp  | https  ]
 
Forum Index Thảo luận hệ điều hành Windows Ai có code Upload file len host thì share tui với  XML
  [Question]   Ai có code Upload file len host thì share tui với 26/04/2007 01:28:58 (+0700) | #1 | 55761
c0metal
Member

[Minus]    0    [Plus]
Joined: 25/04/2007 14:09:53
Messages: 3
Offline
[Profile] [PM]
Mình đang cần 1 code để upload file lên hostsever. Ai có thì share cho mình nhé. Thanks!
[Up] [Print Copy]
  [Question]   Re: Ai có code Upload file len host thì share tui với 26/04/2007 05:40:34 (+0700) | #2 | 55795
[Avatar]
daudau
Member

[Minus]    0    [Plus]
Joined: 02/09/2006 16:30:39
Messages: 148
Offline
[Profile] [PM]
Chưa hiểu rõ bồ muốn gì??

1/ Cụ thể là bồ cần một chương trình để Upload một trang Web từ Client lên Host.

2/ Cần code để viết một trang upload file từ máy khách(client) lên máy chủ(server).

--> 1/ Tuỳ vào Host hỗ trợ hình thức Upload nào , tham khảo quy định của từng Host.-->Nếu hỗ trợ FTP thì dùng 'Cute FTP Pro 7" Hoặc rất nhiều công cụ hỗ trợ việc này.

-->2/ Bồ viết Web bằng ngôn ngữ gì ?

Thân.
[Up] [Print Copy]
  [Question]   Ai có code Upload file len host thì share tui với 26/04/2007 08:45:43 (+0700) | #3 | 55820
[Avatar]
darthtuan
HVA Friend

Joined: 10/08/2003 11:57:02
Messages: 312
Location: Trại cai nghiện
Offline
[Profile] [PM] [WWW]
Bạn có thể download nó trong trang uploadscript.net
[Up] [Print Copy]
  [Question]   Ai có code Upload file len host thì share tui với 30/04/2007 08:56:08 (+0700) | #4 | 56394
c0metal
Member

[Minus]    0    [Plus]
Joined: 25/04/2007 14:09:53
Messages: 3
Offline
[Profile] [PM]
sorry cái mình cần là 1 code upload (bang PHP thi cang tot), neu ai co thi share cho minh nhé
[Up] [Print Copy]
  [Question]   Re: Ai có code Upload file len host thì share tui với 30/04/2007 11:27:40 (+0700) | #5 | 56415
Genetic
Member

[Minus]    0    [Plus]
Joined: 11/07/2006 13:17:17
Messages: 114
Location: Hưng Yên
Offline
[Profile] [PM]
http://sourceforge.net/project/showfiles.php?group_id=47688
Bạn download code Web File Browser ở đó, sẽ có cách sử dụng ở bên trong
[Up] [Print Copy]
  [Question]   Ai có code Upload file len host thì share tui với 30/04/2007 19:57:56 (+0700) | #6 | 56428
[Avatar]
daudau
Member

[Minus]    0    [Plus]
Joined: 02/09/2006 16:30:39
Messages: 148
Offline
[Profile] [PM]

c0metal wrote:
sorry cái mình cần là 1 code upload (bang PHP thi cang tot), neu ai co thi share cho minh nhé 


darthtuan wrote:
Bạn có thể download nó trong trang uploadscript.net 



Links down bản source PHP free:
Code:
http://www.uploadscript.net/demo/download.php?file=869e2cfdfb18d0af2c6c212ba0901b4e


Được quảng cáo như Rapidshare, Megaupload...

smilie) smilie)

Run Your Own Free Upload Site (Similar to Rapidshare or Megaupload)!
Host and run your own mainstream upload site (similar to rapidshare or megaupload) with Uploadscript v1.0 (free). 


Chúc thành công.
[Up] [Print Copy]
  [Question]   Ai có code Upload file len host thì share tui với 03/05/2007 01:15:29 (+0700) | #7 | 56802
c0metal
Member

[Minus]    0    [Plus]
Joined: 25/04/2007 14:09:53
Messages: 3
Offline
[Profile] [PM]
Thanks! để mình test thử nhé
[Up] [Print Copy]
  [Question]   Re: Ai có code Upload file len host thì share tui với 03/05/2007 12:23:47 (+0700) | #8 | 56883
jpg
Member

[Minus]    0    [Plus]
Joined: 03/07/2006 21:35:55
Messages: 89
Offline
[Profile] [PM]
class.upload.php

upload.jpg This PHP script uploads files and manipulates images very easily. The perfect script to generate thumbnails or create a photo gallery! It can convert, resize and work on uploaded images in many ways, add labels, watermarks and reflections and other image editing features. It uses the GD library. This script is released under the GNU GENERAL PUBLIC LICENSE Version 2.

download v0.23 license docs source
version 0.23 released!

Version 0.23 has been released, to fix a bug introduced in 0.22. If version 0.19 introduced many more features, such as image contrast, brightness, tint, color overlay, flip, rotation... addition of text within the image, all configurable... watermarks... and the possibility to work on local files, version 0.20 went further: cropping, borders, frames, graphic filters such as greyscale, negative, threshold filter, but also some more comprehensive error messages, and automatic gestion of file creation and permissions. version 0.21 brought some more feature such as smart cropping. version 0.22 adds web 2.0 style of reflections, more cropping and text capabilities, and support for open_basedir. Check out some demo samples.
What is it?

An example will be more useful than any blurb I can write :

$foo = new Upload($_FILES['form_field']);
if ($foo->uploaded) {
// save uploaded image with no changes
$foo->Process('/home/user/files/');
if ($foo->processed) {
echo 'original image copied';
} else {
echo 'error : ' . $foo->error;
}
// save uploaded image with a new name
$foo->file_new_name_body = 'foo';
$foo->Process('/home/user/files/');
if ($foo->processed) {
echo 'image renamed 'foo' copied';
} else {
echo 'error : ' . $foo->error;
}
// save uploaded image with a new name,
// resized to 100px wide
$foo->file_new_name_body = 'image_resized';
$foo->image_resize = true;
$foo->image_convert = gif;
$foo->image_x = 100;
$foo->image_ratio_y = true;
$foo->Process('/home/user/files/');
if ($foo->processed) {
echo 'image renamed 'image resized',
resized x=100 and converted to GIF';
$foo->Clean();
} else {
echo 'error : ' . $foo->error;
}
}

What does it actually do in this example?

This example uses a file uploaded via a form. With this single file, it will :

* copy the file without any modification
* copy the file after having changed its name to 'foo'
* copy the file, resizing it to x=100, y=auto, converting it to GIF

How does it work?

* the class constructor upload handles a uploaded file (it can also handle a local file)
* some optional parameters can be set up to act on the file during the process
* the process is called with as an argument the destination directory on the server. If some parameters have been set up, the class will rename, resize, convert files and images
* when the uploaded file is not needed anymore, we can delete it using clean.

Why use this class?

* with one uploaded file, you can do as many copies, convertions, resizing you want.
* you can resize each image dimension, or both, keeping the image ratio or not.
* you can choose to resize an image only if it is bigger -or smaller- than the wanted sizes
* you can manipulate the image in many ways, play with colors, add borders, labels and watermarks...
* its use is simplistic but powerful
* more than 60 documented configuration settings
* a lot of variables are set up during the process. You can retrieve all these values after a process.
* error messages are understandable, and a variable log allows you to see what the class does.
* it is already widely used on Internet
* it is free smilie

Is it out there on Internet?

class.upload.php is featured on HotScripts. If you like the script, please rate it or write a review for it. You can find it here : http://www.hotscripts.com/Detailed/45364.html

class.upload.php is featured on PHP Classes. If you like the script, please rate it there. You can find it here : http://www.phpclasses.org/browse/package/2181.html

class.upload.php is featured on Freshmeat. If you like the script, please rate it there. You can find it here : http://freshmeat.net/projects/class_upload_php/
Commercial licenses

Commercial licenses are available here.  


Code:
Source : http://www.verot.net/php_class_upload.htm


Hy vong bạn thích nó ! Thân
[Up] [Print Copy]
  [Question]   Ai có code Upload file len host thì share tui với 05/05/2007 04:03:48 (+0700) | #9 | 57161
[Avatar]
SuperChicken
Elite Member

[Minus]    0    [Plus]
Joined: 11/07/2006 18:31:27
Messages: 635
Location: bottom of hell
Offline
[Profile] [PM]
http://12tin.no-ip.org/tmp/Uber-Uploader_4.3.zip
Support: progress bar, multiple-file, restrict file name, file ext, file size,...
Cần phải có perl mới dùng cái này được.
[Up] [Print Copy]
[digg] [delicious] [google] [yahoo] [technorati] [reddit] [stumbleupon]
Go to: 
 Users currently in here 
1 Anonymous

Powered by JForum - Extended by HVAOnline
 hvaonline.net  |  hvaforum.net  |  hvazone.net  |  hvanews.net  |  vnhacker.org
1999 - 2013 © v2012|0504|218|