Make an upload space on your website

Last update on October 26, 2008 09:10 AM by aakai1056
Published by aakai1056

Make an upload space on your website







Websites nowadays propose an upload space where you can send your small or large files online. This is quite useful when it comes to file sharing transactions online or if you want to store some files and don’t have any other means to do it.

If you have never heard about YouSendIt.com before, it is a website that provides the type of upload by FTP. However, there are now some ways for you to get a free service that you will put up yourself using a PHP code.

Where to get it


This PHP code is available on the website File Thingie from the link http://www.solitude.dk/filethingie/?q=download. The advantage with this program is that it can allow you to upload multiple files at the same time, to protect them with a password, to rename, move or delete those files and to edit your text in HTML.

What to do


After downloading the file and unzipping it, there are some modifications that you should make to it.
  • Step 1: Rename the PHP file ft2.php into index.php
  • Step 2: After the indication # Settings - Change as appropriate. See online documentation for explanations. #, you will have to insert the new username and password as indicated below:

define("USERNAME", "my_username");
define("PASSWORD", "my_password");
  • Step 3: Then, alter the DIR declaration from define("DIR", ".");

to define("DIR", "files");
  • Step 4: You can also alter the storage capacity by changing define("MAXSIZE", 2000000);

to define("MAXSIZE", 9999999);
  • Step 5: Finally, you can add some more formats that can be uploaded, where it is written define("FILETYPEBLACKLIST", "php phtml php3 php4 php5"); you can change it to

define("FILETYPEBLACKLIST", "php phtml php3 php4 php5 mp3 doc xls");

What to change on your website


Once you have finished with the changes, you should now create a directory to store the files on your website. Note that you should also create a subfolder that will contain the PHP file. Hence, put the index.php file in the sub folder. All you have to do now is to go on http://votresite.com/stockage to insert your username and password to be able to access this space.
Best answers for « Make an upload space on your website » in :
How to make a space in your html document Show How to make a space in your html document In HTML there is no way that the web browser can recognise the spaces inserted consecutively in between the letters. You can either try it in EI, Mozilla and Opera. The only way to do so is...
Adding your website in search engines Show Adding your website in search engines Google Yahoo MSN Exalead Note Here's some information about how to add the site in search engines. Google Submission is free and totally free for certain period:...
Inserting space between each letter Show Inserting space between each letter $ echo -e "How are you\n everything alright" | sed 's/./& /g' H o w a r e y o u E v e r y t h i n g a l r I g h t The disadvantage is that the natural space between each word...
How to make a website from a web portal (Guppy) ShowHow to make a website from a web portal (Guppy) How does it work? How to alter the website’s features? What are the features that are present? What other advantages do I have? Some good links on Guppy If you do not know anything...
Publish a PDF file on your website ShowPublish a PDF file on your Website Displaying a link to a PDF on your Website Displaying the PDF on your website Displaying a link to a PDF on your Website Proposing a PDF link on your own website is an operation that can seem...
Playing music on your website ShowPlaying music on your website Introduction Dewplayer XSPF Web Music Player Zanorg Radio MyFlashFetish Introduction If you are searching for a simple and lightweight solution to enable music on your website independent from web...
Download Windows Movie Maker ShowDescription: Windows Movie Maker is surprisingly easy and amusing for family realization of films, by allowing you to create, to edit and to share your films on your own computer by of simple slip move. You can add special effects, music and...
Download Theme Maker ShowTo obtain good results, it is necessary to work in the best conditions and in a customized work environment. Theme Maker is a program which allows to customize, create or of change your cursors, your icons and bottom of screen. Modify and customize...
Managing images in HTML ShowHow do you display images on a web page? Having a few images on a website can make it more attractive and user-friendly. However, it is important not to go overboard, since images can take a long time to load, and in some cases can make a document...
Measuring Website Traffic ShowMeasuring and Qualifying Website Traffic Every webmaster's goal is to increase traffic to his or her website, i.e. increase the number of visits everyday. Therefore, it is essential to have indicators that, on the one hand, facilitate the...
Webmaster (Website administrator) ShowWebmaster (Website administrator) A webmaster (also called a website administrator) is in charge of maintaining and developing the company's website. To do so, he/she works to define the architecture and tree structure of the website, sometimes in...