File Uploading Automatic...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Scientist
    Private

    • Dec 2005
    • 2

    File Uploading Automatic...

    Can somebody please help me?

    I don't understand... How can I make it so that when I add the upload file tool in my form, how can I make it so that it sends the file to my email address as an attachment.. or even BETTER...

    When somebody uploads a file, it checks if it is an either .exe file or a .zip file, if it is one of those files is uploads itself to a certain database of uploads on my website space by some sort of PhP and displays a link to download on a specified page along with the toher uploaded files.

    Basically, I want to make it so that anybody can upload a file and automatically have it listed on my website.

    To keep it simple, I'd also go with sending the uploaded file as an attachment to my email.
  • VodaHost
    General & Forum Administrator

    • Mar 2005
    • 12356

    #2
    Re: File Uploading Automatic...

    This requires sometype of scripting function. What exactly are you trying to accomplish?

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    02036089024 / United Kingdom
    291916438 / Australia

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


    Comment

    • navaldesign
      General & Forum Moderator

      • Oct 2005
      • 12080

      #3
      Re: File Uploading Automatic...

      Originally posted by Scientist
      Can somebody please help me?

      I don't understand... How can I make it so that when I add the upload file tool in my form, how can I make it so that it sends the file to my email address as an attachment.. or even BETTER...

      When somebody uploads a file, it checks if it is an either .exe file or a .zip file, if it is one of those files is uploads itself to a certain database of uploads on my website space by some sort of PhP and displays a link to download on a specified page along with the toher uploaded files.

      Basically, I want to make it so that anybody can upload a file and automatically have it listed on my website.

      To keep it simple, I'd also go with sending the uploaded file as an attachment to my email.
      As said above, you need some scripting to do that.
      First, if you want to check the kind of file, you need to have the uploaded file variable checked, then you need to specify in which directory of your site it will be uploaded, then you need to get the file url attached to the email that you receive. This is enough explained in http://www.vodahost.com/vodatalk/sho...1943#post11943
      That's the script i use for my own form. Note that le last part, regarding the autoresponder, will not work if the mail() function is disabled. I trick-solved this problem setting the webmail autoresponder to autorespond for me instead of the script itself.

      Please note that the email address to use should be on your Vodahost account. Also you may use as many upload fields as you want, but the check has to be done for each one separately. In my case I have also used separate error pages so the visitor will know what - if anything - goes wrong.
      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!

      Comment

      Working...
      X