-
AuthorPosts
-
March 18, 2018 at 9:34 am #928666
Hallo,
ich möchte ein Kontaktformular erstellen, dass es den Kunden ermöglicht, mir 3 Fotos zu schicken. Gibt es dafür eine Uploadfunktion?
Liebe Grüße – Birgit________________
Hello,
I want to create a Contactform with the option to upload 3 images. Is there an uploadfunction for clients?
Best regards – BirgitMarch 18, 2018 at 2:40 pm #928705i believe CF7 got this option but i would like to warn you about that. You have to know how to prevent attacks
cf7 for example has an upload limit and a file-type field – so you can choose what files are allowed to upload.Some Infos on that ( first i found via Goolge – but Inet is full of warnings)
File Upload Forms are a Major Security Threat
https://www.acunetix.com/websitesecurity/upload-forms-threat/March 18, 2018 at 2:57 pm #928709On Contact Form 7 you can define a tmp path to the folder where the images are saved temporarly via wp-config.php:
define( 'WPCF7_UPLOADS_TMP_DIR', '/your/file/path' );
this is nice to have because you can secure that folder via htaccess and secure advices in the net.
cf7 did on that uploads dir a htaccess on default – i did change it todeny from all <Files ~ “^w+.(gif|jpe?g|png|pdf)$”> order deny,allow allow from all </Files>see here: https://contactform7.com/file-uploading-and-attachment/
March 18, 2018 at 3:45 pm #928721Thank you Guenni, for your answer and your time! A lot of warnings… Mh, thats complicated.
I think about a diffrent methode. Simple eMail? But then, my questions to the clients are not answered precisely.Best regards – Birgit
March 20, 2018 at 10:58 am #929691 -
AuthorPosts
- You must be logged in to reply to this topic.

