File upload in form

Issues related to forms.
Post Reply
jones226
 
 
Posts: 16
Joined: Wed Nov 23, 2016 12:18 am

File upload in form

Post 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.
User avatar
Pablo
 
Posts: 21699
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: File upload in form

Post 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?
jones226
 
 
Posts: 16
Joined: Wed Nov 23, 2016 12:18 am

Re: File upload in form

Post 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
User avatar
Pablo
 
Posts: 21699
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: File upload in form

Post 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.
Post Reply