Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Web Coding › Website you can upload and download files from ?
New Posts  All Forums:Forum Nav:

Website you can upload and download files from ?

post #1 of 2
Thread Starter 
What would you call these? my friend has one - http://list.xam.nu/ and http://xam.nu/
A second question i guess, are they hard to code?
Recently got a server up and want to have something on it, figured having one of these on it for my friends etc would be a good idea.

Any help apreciated smile.gif
Edited by Tsuuki - 2/11/12 at 1:21pm
post #2 of 2
Very easy to get going, however you'll want to make it secure since it is very easy to do some serious damage when you can upload / manage any file you want. What I mean by this is very obvious things like restricting certain extensions, etc.

Using php to upload a file can be as easy as:
http://www.w3schools.com/php/php_file_upload.asp

After you've done that you can list the files in your directory to display them all, or throw in some javascript for a nice upload bar or fancy interface, whatever you want really.

A tip from experience: I'd either flush the files at set intervals or regularly verify them for legality. If someone were to upload some copywritten software or other-than-legal image, you will be held responsible as owner of the machine.
Halcyon
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel C2Q Q9650 ASUS Maximus II Formula eVGA GTX 285 SSC 2x2GB Corsair Dominator DDR2 1066 
Hard DriveOSMonitorKeyboard
500GB 7200 Samsung Windows 7 Ultimate x64 Samsung Syncmaster 2233SW Logitech Wave 
PowerCaseMouse
Corsair 850TX Coolermaster HAF 932 Logitech G5 
  hide details  
Reply
Halcyon
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel C2Q Q9650 ASUS Maximus II Formula eVGA GTX 285 SSC 2x2GB Corsair Dominator DDR2 1066 
Hard DriveOSMonitorKeyboard
500GB 7200 Samsung Windows 7 Ultimate x64 Samsung Syncmaster 2233SW Logitech Wave 
PowerCaseMouse
Corsair 850TX Coolermaster HAF 932 Logitech G5 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Web Coding
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Web Coding › Website you can upload and download files from ?