Results 1 to 10 of 10

Thread: Vistor to upload files
      
   

  1. #1
    JGoudge87 is offline Corporal
    Join Date
    Mar 2007
    Posts
    18

    Default Vistor to upload files

    I would like visitors of my site to be able to upload files by themselves to my site.

    Is this possible?

    How do I do it?

    Thanks for any help

  2. #2
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default Re: Vistor to upload files

    yes it is possible. By just inserting a file field in a form it will upload a file, although I wouldn't recommend it. Doing it that way won't check for any file types, file size, or if the file already exists on the website. To be able to do that you will need a script to handle that. Navals ABVFP http://www.vodahost.com/vodatalk/new...ighlight=ABVFP
    should be able to handle your upload

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

  3. #3
    JGoudge87 is offline Corporal
    Join Date
    Mar 2007
    Posts
    18

    Default Re: Vistor to upload files

    Is there a way to do it where the file will appear on the site without me having to do anything after the user submits the files?

  4. #4
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Vistor to upload files

    What kind of files are we talking here about ?

    If you mean pictures, they are immediately available, but you need to create some kind of link to those images.
    Otherwise, you need a script that will take care of his part by creating the link, in a preestablished template of your site.

    This is a feature usually used for user profiles pages, where users create their own pages by uploading pictures, videos, personal info etc. However, these are dedicated scripts.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  5. #5
    JGoudge87 is offline Corporal
    Join Date
    Mar 2007
    Posts
    18

    Default Re: Vistor to upload files

    It is a file that I would like to be readily available for download once the user uploads the file to my site. It is not a picture.

  6. #6
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Vistor to upload files

    If you mean downloadable by you, it is. It ill also be attached in the email you will recieve.
    If, instead you mean available for download by other visitors, you must somehow create a link to the file. otherwise no one knows it's existance.

    This link creation can be manual (you have to add the link in a page and republish the page each time a file is added) or automatic, as it happens whith directory scripts: as soon as a file is added a relevant link is automatically created and added in a page. But, you are going to need a specific custom made script for this.

    Usually, uploaded files do NOT become automatically available. The reason is that usually the webmaster examines the file and approves it, otherwise there is a risk that someone can upload a script that, if immediately available, could be executed and take control of your site. So the file type as well as it's content should be verified by you before placing the link to the file in one of your pages. Unless you restrict the file type to images, pdf's and other NON executable files.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  7. #7
    ic3
    ic3 is offline Sergeant
    Join Date
    Jun 2007
    Posts
    38

    Default Re: Vistor to upload files

    Hi

    I would like my visotors to send me a file. What is the best way to do this. Do I create an ftp for them or is there a better way.

  8. #8
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default Re: Vistor to upload files

    Allowing anonymous ftp is a bad idea unless you know exactly what you are doing (meaning disabling anything in that directory from running on the website). If you allow user to upload any file they want they can very easily trash your website.

    The best way is to use a form to upload a file, if you do it that way you can check the file type, the size, and decide if it can be uploaded or not.

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

  9. #9
    jonny5 is offline Private First Class
    Join Date
    Jul 2007
    Posts
    6

    Default Re: Vistor to upload files

    Quote Originally Posted by navaldesign View Post
    If you mean downloadable by you, it is. It ill also be attached in the email you will recieve.
    If, instead you mean available for download by other visitors, you must somehow create a link to the file. otherwise no one knows it's existance.

    This link creation can be manual (you have to add the link in a page and republish the page each time a file is added) or automatic, as it happens whith directory scripts: as soon as a file is added a relevant link is automatically created and added in a page. But, you are going to need a specific custom made script for this.

    Usually, uploaded files do NOT become automatically available. The reason is that usually the webmaster examines the file and approves it, otherwise there is a risk that someone can upload a script that, if immediately available, could be executed and take control of your site. So the file type as well as it's content should be verified by you before placing the link to the file in one of your pages. Unless you restrict the file type to images, pdf's and other NON executable files.
    Hi, I am trying to make a website where my visitors can upload there swf (flash) files on to my site. can ya plz tell me how I could make it automatic so when they upload the file, a link will appear on one of my pages that will display all uploads by visitors in order by date. So that they will just keep getting up loaded without me having to do anything. I have spent days trying to work this one out.



    thanks. :)

  10. #10
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Vistor to upload files

    This is not so simple.

    1. You need to setup a database.
    2. You need to create an upload form that will upload the file. The file info will be stored in the database, while the file itself can be either stored in the database or simply uploaded in a folder in the site, and the path to the file saved in the database.
    3. You need a script, that will display, in a page, links to all files. The user selects a file to play.
    4. This page needs to also have a Flash Player embedded. Upon file selection the Flash player plays the chosen file.

    The files are displayed in inverse date order sorted from the database.

    This is a complicated script, certainly not easy to accomplish if you have no php coding experince.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49