Developer Support »

Uploading files  (See more user questions)

Hello Charles,

Just to let you know, my upload form is now working!! Thank you so very much for
your kind assistance!

All the very best,

Sent: Wed, October 13, 2010 7:20:42 PM
Subject: Re: Question on files

Good luck with it, !

Charles Sweeney
https://formtoemail.com
The world's easiest feedback script!

----- Original Message -----
Sent: Thursday, October 14, 2010 12:13 AM
Subject: Re: Question on files


Thanks Charles! Actually I was more than halfway there already, except for
naming the files separately, which I did yesterday as "File1," "File2," etc. I
loaded this updated file to my server last night.

Tonight when I get home I plan to get in touch with my web hosting support
people and have them check out the php.ini file, as your instructions indicate.

I hope to tackle this soemtime tonight or tomorrow.

Kind regards,


Sent: Wed, October 13, 2010 7:23:29 AM
Subject: Re: Question on files

I think you're doing fine, !

No, you don't need to state paths or the like in your form HTML code. Just make
sure you have enctype="multipart/form-data" in the form action, as per that link
I gave you, and you have your file inputs on the form, like so:

<input type="file" name="file1">

<input type="file" name="file2">

You can have as many as you like. Call them by any name but give each one a
different name (preferably without spaces).

Best wishes.

Charles Sweeney
https://formtoemail.com
The world's easiest feedback script!

----- Original Message -----
Sent: Wednesday, October 13, 2010 12:05 AM
Subject: Re: Question on files


Hi Charles,

Thanks for the info. I'll definitely look at it first chance I get, as I'd like
to fix as much as I can (the whole thing, if possible--I'm almost there). As far
as the 'uploaded files' config area in the script, I left it as is (default), as
I saw no immediate need to create a new folder for the uploaded files--so they
should all be loading into the same folder as the upload form (html file) and
the script (php file).


QUESTION: Will I need to look into the upload form (HTML) file as well? ..for
instance, having to indicate the complete path to the directory on the server?
... maybe I shouldn't ask this until I have had a chance to look at your page in
your support section.


If I can't fix it, I'll certainly send you the URL and the edited script--BUT I
have a good feeling about this one--we'll see!

Thanks again!


Sent: Tue, October 12, 2010 3:41:59 AM
Subject: Re: Question on files

Hi .

That's good you are getting going with it!

File uploads to the server:

Have a look at this page on my support section:

https://formtoemail.com/developersupport/not_receiving_attachments.php

If you can't fix it, can you give me the URL of the form page and attach your
edited script please?

Did you try it using the default settings first? Which would put the uploaded
files in the same directory as the script.

Sure you're not getting permission errors?

Best wishes.

Charles Sweeney
https://formtoemail.com
The world's easiest feedback script!

----- Original Message -----
Sent: Tuesday, October 12, 2010 12:02 AM
Subject: Question on files


Hello Charles,

Thank you so very much for your kind assistance. I have reviewed all my code,
all permissions, spoke with my web hosting support people, etc. for the most
part of today. We have actually come a very long way! The form, CSV file upload
of user data, CAPTCHA, autoresponder, etc ALL WORKS--good stuff!


I just have ONE more question, as we could not seem to track this last thing
down. Although we have captured the user profile data in the CSV file, for some
reason the actual files (.doc, .jpg, .gif, and .pdf) are not uploading (cannot
see them in a folder on the server)--and there is no error message. I activated
the 'upload_files_to_server = 1'.

I have not activated 'Block' file types; however, I activated the 'Allow' file
types with only the (.doc, .jpg, .gif, and .pdf) in the array. I have created 10
field entries for files (with the 'Browse') button, but I would not think that
this would cause a problem.


I hope this information I provided will be helpful to you. Please let me
know what else I should be looking into--MANY THANKS!

Kind regards,