+ Reply to Thread
Results 1 to 6 of 6

Thread: Serving Simple Word Documents

  1. #1
    patriotseminar72 is offline x10Hosting Member patriotseminar72 is an unknown quantity at this point
    Join Date
    Aug 2010
    Posts
    20

    Serving Simple Word Documents

    I am currently making a website where I would like users to be able to upload word documents (most likely .doc or .rtf files) and then be able to download these file.
    I do not want it to specifically be a document file host, because I want to allow everyone with access to the website the ability to download the files.
    Also, a key component would be a password protection system. I do not need it to have usernames and registration - I just need some form of protection so that only people I know can get access to it. I was thinking about trying out the cpanel password protected directories.

    So basically, would I be allowed to do this - I don't really think it would fall under a file hosting service, because its more like collaboration, but if it does I guess I will just try to find something else. And if that is the case, does anyone have any recommendations.

    And, if I am allowed to do this, does anyone know of any free scripts that would make this work? I guess something like php post would work for the upload (I can manage that). But the problem would be, how would I set it up to take the uploader's name, file name, and file description? And how could I display that?

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: Serving Simple Word Documents

    Try looking at Google Apps(Standard [free] Edition) Their Google Docs sounds like what you want.
    Nothing is always absolutely so.

  3. #3
    patriotseminar72 is offline x10Hosting Member patriotseminar72 is an unknown quantity at this point
    Join Date
    Aug 2010
    Posts
    20

    Re: Serving Simple Word Documents

    The problem with Google Docs is that, I don't want to require my users to have to register. I only want them to have to put in a password (and/or username). I want this to be universal (as in work for everyone).
    I think I can just use a php file management script - there are tons out there. But, I want to know if I am allowed to do this on x10hosting's free service.

  4. #4
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: Serving Simple Word Documents

    They don't all have to register. You create the main account and then create a 'team' account that they can all use.
    Nothing is always absolutely so.

  5. #5
    patriotseminar72 is offline x10Hosting Member patriotseminar72 is an unknown quantity at this point
    Join Date
    Aug 2010
    Posts
    20

    Re: Serving Simple Word Documents

    Quote Originally Posted by descalzo View Post
    They don't all have to register. You create the main account and then create a 'team' account that they can all use.
    That is a good idea! but, everyone seems to be fine with installing software all of a sudden, so we are using dropbox instead, haha.

  6. #6
    essellar's Avatar
    essellar is offline Community Advocate essellar has a spectacular aura about
    Join Date
    Feb 2010
    Location
    Toronto, Ontario, CA
    Posts
    1,153

    Re: Serving Simple Word Documents

    Just as a point of interest, though, if your website is "about" collaboration, then storing the files becomes a legitimate use of your free hosting account. One would generally create them as "attachments" to a web document (all that means in a PHP environment, really, is that the file is stored in the file system -- although BLOB storage in a database table is also a possibility -- and is linked to by an indexed web page for easy retrieval). If there is a significant number of files involved, being able to search a database rather than browse a file system can be a real time-saver.

    Of course, for real collaboration, you could always use a WYSIWYG textarea widget like TinyMCE or CKEditor (formerly and unfortunately called FCKEditor, "FCK" being the initials of the developer, who didn't get how that might "slip" in English) to create and modify the documents, then use something like FPDF or the HTML2PDF service (which does wonderful document renders using the Webkit browser core before converting) to output a "frozen" version on approval/consensus. It's an alternative to Google Apps, and it's easy to manage shared editing (with Google Apps you can often see someone else's real-time edits happening while you're working, and that can be rather disconcerting if you've never experienced it before).
    “Beware of bugs in the above code; I have only proved it correct, not tried it.” --Donald Knuth
    "It was as if its architects were given a perfectly good hammer and gleefully replied, 'neat! With this hammer, we can build a tool that can pound in nails.'" -- Alex Papadimoulis (on TheDailyWTF.com)

+ Reply to Thread

Similar Threads

  1. Need a way to create a simple page list in Word Press...
    By sbonner in forum Programming Help
    Replies: 2
    Last Post: 05-31-2010, 10:09 AM
  2. 69.175.121.58 reachable but not serving pages
    By muslimag in forum Free Hosting
    Replies: 1
    Last Post: 03-31-2010, 04:21 AM
  3. ‘Google’ Word of the Decade, ‘Tweet’ Word of the Year
    By anish177 in forum Computers & Technology
    Replies: 1
    Last Post: 01-16-2010, 09:37 AM
  4. Default Documents
    By gabosoft in forum Ayuda Web
    Replies: 2
    Last Post: 09-30-2009, 11:49 AM
  5. Replies: 4
    Last Post: 02-25-2008, 09:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers