Page 1 of 1
File upload in form
Posted: Thu Apr 04, 2019 11:44 pm
by jones226
I've got a file upload box with data required and the file extentions set in a form, but the form still sends with no file added any ideas, thanks in advance.
Re: File upload in form
Posted: Fri Apr 05, 2019 6:29 am
by Pablo
To be able to help you I need more details.
What are your exact settings?
What is the URL of the page?
What is the PHP code of the page?
Re: File upload in form
Posted: Fri Apr 05, 2019 4:01 pm
by jones226
The page url is
https://www.linkparking.co.uk/register-bay.php on the form it's use built in php form processor everything else is default and on the file upload, mode is default, ticked data required, error message, proof of residence required, extensions .jpeg .png .gif .pdf. php code of page I don't know what that is but the version is php5-php7 everything else is all default any help would be great thanks in advance, Nick
Re: File upload in form
Posted: Fri Apr 05, 2019 5:06 pm
by Pablo
Did you create the 'upload' folder in the server?
Does the folder have write permissions?
Maybe the file you are trying to upload is too large?
Some web hosts do have a file size limitation. For example, max 1MB.