How to upload a file using a form

Collapse
This topic is closed.
X
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Vasili
    replied
    Re: How to upload a file using a form

    Re-directing from PayPal to a particular page is a normal function of the Paypal configuration. To make sure your "upload" page is hidden from general traffic, simply do not provide a link to it anywhere on the site itself, and be sure to include it in particular as one of your specified "nofollow" rules in your 'robots.txt' file which should be repeated in your 'sitemap.xml' file ... both of which your site should have in place once it is completed.

    > The robots.txt file

    Leave a comment:


  • cuulblu
    replied
    Re: How to upload a file using a form

    First I will explain why I am interested in this idea. I have a website where I sell photo editing services. I need a solution that allows a customer to choose one or more services to be applied to each photo. They may want work done on more than one photo. Then they would pay via paypal before being sent to the upload page.

    I have a couple of questions. The first is just verification as I don't see why it wouldn't work. Is it possible to send a customer to paypal, then set a redirect back to the upload page? Is it possible to set the page so it can only be accesses after a redirect from paypal? This would prevent someone from saving a link or stumbling across the page and uploading pictures without paying.

    After reviewing all the posts I see this is an old post and at the time you were working on a new version. Please direct me to a more recent tutorial if one exists that might solve my problems.

    Thanks

    Leave a comment:


  • McBuff
    replied
    Re: How to upload a file using a form

    Originally posted by navaldesign View Post
    When a file is uploaded through a form, the file size is limited by the server settings. This is why I provided also the method to increase this limit.

    The email attachement limit instead depends mainly on your ISP (your internet connection provider)

    ABVFP is an alternative form processor, which allows storing the files on the server instead of attaching them in the mail.

    Related thread: http://www.vodahost.com/vodatalk/for...essor-2-a.html
    I installed the ABVFP and after a few initial hic-cups. . .everything seems to be working. . . files are uploading and everything looks good . . .Great Nav. . thanks so much.

    Leave a comment:


  • navaldesign
    replied
    Re: How to upload a file using a form

    When a file is uploaded through a form, the file size is limited by the server settings. This is why I provided also the method to increase this limit.

    The email attachement limit instead depends mainly on your ISP (your internet connection provider)

    ABVFP is an alternative form processor, which allows storing the files on the server instead of attaching them in the mail.

    Related thread: http://www.vodahost.com/vodatalk/for...essor-2-a.html

    Leave a comment:


  • McBuff
    replied
    Re: How to upload a file using a form

    Originally posted by navaldesign View Post
    Sorry about the confusion. It is my mistake actually, as I have been looking at the (in development) next version.

    True, files can only be sent as email attachments. If you need to store them on the server, you need to use the ABVFP.

    File size: it is usually limited to 8 MB. If you need to increase this size, create a file in Notepad as follows:

    #format
    php_value setting_name setting_value

    #example
    php_value post_max_size 32M
    php_value upload_max_filesize 32M
    php_value max_execution_time 60
    php_value memory_limit 64M

    Save it As, -> file type All Files, name it .htaccess and upload it on the server.
    Hey thanks, Nav. ..bit by bit. . .this thing is getting there. I don't necessarily need the files on the server. . .if it comes via attachment that is fine. One question about your answer here. When you say "file size is usually limited to 8 MB" is that referring to the ABVFP solution only or are you saying that 8mg is the limit from Voda for email attachments (or both)? If 8mg files can get to me via email attachments. ..that probably will work in that I'm only going to be receiving photo files from clients for repair. I can leave instructions on the form page if their file is larger than (whatever the limit is).

    If it turns out that the email attachment limit is too small, I will then check out your recommendation for using the ABVFP (which I have no idea what that is. . however I've seen several posts regarding that and I will refer to those for instructions first and get back to you if I get stumped.)

    Thanks again, Nav. . .I don't post that much. . but I read your instructions to others all the time. .. you've helped me alot without knowing it. . so thanks for that as well!

    Leave a comment:


  • navaldesign
    replied
    Re: How to upload a file using a form

    Sorry about the confusion. It is my mistake actually, as I have been looking at the (in development) next version.

    True, files can only be sent as email attachments. If you need to store them on the server, you need to use the ABVFP.

    File size: it is usually limited to 8 MB. If you need to increase this size, create a file in Notepad as follows:

    #format
    php_value setting_name setting_value

    #example
    php_value post_max_size 32M
    php_value upload_max_filesize 32M
    php_value max_execution_time 60
    php_value memory_limit 64M

    Save it As, -> file type All Files, name it .htaccess and upload it on the server.

    Leave a comment:


  • McBuff
    replied
    Re: How to upload a file using a form

    Well, here's the latest. I set up the form using the wizard, included input boxes for name, email, country and then the upload box and submit button. I, again, see no place to designate a file folder. . .but I publish it anyway. . . .I go to my site (www.wefixyourpix.com) and fill out the form. . attach a file and hit the submit button. I have no idea where that file is going. . .maybe Mars. . . .but. . .lo and behold. . it shows up AS A FILE ATTACHMENT ON THE EMAIL! Surprise!. . .well, okay. . maybe okay. . . .my gmail account is suppose to accept up to 25 mg file size. . should be more than enough. . .so maybe no problem. . .

    well. . problem. . .because I tried to send a 13 mg file. . .NO CAN DO. . . but. . I don't think it is a gmail limit but maybe a vodahost limit . .is that true?. . if so. . what's the limit? I really would appreciate a little insight on this so I can tell my clients what to expect. . .or maybe I should just drop the cockamamie thing and just tell them to yousendit.com me. . .

    I guess this upload feature is still buggy.. . Is there anyone out there that could tell me what the limit is on file transfer by email attachment?. . .7mg. . .12mg or 13mg . . (must be less than 13 because my 13mg file didn't make it.

    So, in conclusion. . .it seems the "file upload" is actually just attaching the file to the designated email address, not actually uploading to a folder in your site's files. Any insights will be appreciated (including telling me how much I'm off my rocker. . except. . .well . .I know that already!!)

    Leave a comment:


  • McBuff
    replied
    Re: How to upload a file using a form

    Originally posted by McBuff View Post
    Thanks Nav. . .I'm at the properties box but I don't see how to designate the file folder. The properties box has a "general" 'styles" and "validate" tabs. . but I don't see where it asks for destination folder. thanks for your help.
    I'm wondering if anyone could give me a head's up on this issue:

    How does one designate the folder one wishes to have materials uploaded to on the "uploads" feature of a form. I have clients that want to upload photos for photo repair. I've set up a form with the "upload" utility but in setting it up, I can't find where one is supposed to specify the receiving folder. When something is then "uploaded". . I have no way of knowing if or where the file goes. What am I missing? Thanks

    Leave a comment:


  • McBuff
    replied
    Re: How to upload a file using a form

    Thanks Nav. . .I'm at the properties box but I don't see how to designate the file folder. The properties box has a "general" 'styles" and "validate" tabs. . but I don't see where it asks for destination folder. thanks for your help.

    Leave a comment:


  • navaldesign
    replied
    Re: How to upload a file using a form

    The BV built in form processor can upload files. However, filesize is limited to (usually) 8 - 12 MBs. Support can increase this with a .htaccess file to 20 - 30 MBs.

    Files end up in the predefined "uploads" folder . You can set the destination folder in the built in form processor properties.

    Leave a comment:


  • McBuff
    replied
    Re: How to upload a file using a form

    I want to have an "upload" feature on my site so that clients can upload photos for photo repair. Sometimes these files are large. . .up to 15 mgs. I have two questions:

    1. Is there a limit for size upload (I didn't see any way to set it or adjust)
    2. Where does the uploaded file go? I saw no feature to designate what file folder an uploaded file should be sent to.

    Thanks

    Leave a comment:


  • navaldesign
    replied
    Re: How to upload a file using a form

    This requires Ajax coding that is quite complicated. For VERY advanced users only.

    Leave a comment:


  • ateebit
    replied
    Re: How to upload a file using a form

    hello can any one tell me how to add uploading progress bar in my uploadform..when my user hit submit button..please tell

    Leave a comment:


  • linceman
    replied
    Re: How to upload a file using a form

    The problem is that there is some kind of restriction to the file size limit around 2MB I'm not sure yet.

    But I can upload any file video or anything it it is smaller then 2 MB, but then if it's bigger
    I cannot upload it no matter what type of file it is.

    I have changed all the forms that a created on the ABVFP but that doesn't do anything...

    There must be some kind of restriction internally on the server .

    You've heard of a problem like this?

    Thx

    Leave a comment:


  • linceman
    replied
    Re: How to upload a file using a form

    I can upload the files properly to the uploads folder but I can't upload the videos... it actually does the action of uploading the video but then I cannot find the file anywhere in the server... it's a video of 3MB so it shouldn't be a big deal...

    Help... I need some help...

    Thx
    Newbie Lince

    Leave a comment:

Working...
X