Show DevBest Easy Share - Free File Uploading Script (Release)

bodge

ayy lmao
Oct 31, 2011
406
54
Hello Devbest,
I have created a free easy to use file upload script.
It is some what basic and serves a good purpose.

When uploading the file name shortens and becomes a 10 character md5 hash (to be used in the url) which uploads in the database and the files folder (where everything is stored)

When uploading the the file extension is also taken to tell a user if the file is a png, zip, txt etc...

And once the file is uploaded it redirects you to the page where you can find your downloaded file.


Screenshots:

(I didn't spend so much time on CSS).

Index:

z5gj.png


File uploaded:

TXT: (zoomed out)

HK9imIn.png


Image: (zoomed out)

7CkoyDp.png


ZIP:

DJ0ZBr2.png


You will be able to edit this code, for example: adding more file types and changing the limit of the uploadable data.

Please give feedback, good and bad :)

Sorry there is no live preview, I only have one VPS and I use that for work and such and I don't want people uploading stuff to it.

SQL:

Code:
CREATE TABLE `files`(
`file_id` INT(11) NOT NULL AUTO_INCREMENT,
`file_path` VARCHAR(100) NOT NULL,
`file_name` VARCHAR(10) NOT NULL,
`file_type` VARCHAR(5) NOT NULL,
PRIMARY KEY (file_id)
) ENGINE=MyISAM;

( )
 

BIOS

ಠ‿ಠ
Apr 25, 2012
906
247
Nice and simple release, sure someone will find it useful and be able to build onto it. :)
 

Hindi

System.out.println(" ");
Dec 30, 2012
989
192
You could implement, The URL Shortener, and directly provide short URL for that LONG LINK, If you want one, I have coded one, Check for it in the releases and scripts, But other than that this ones a nice script (Y)
 

Users who are viewing this thread

Top