Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => Mail

PHP upload file error

the mail() function

Moderators: macek, egami, gesf

PHP upload file error

Postby greenhousegraphix » Fri Apr 06, 2012 8:51 am

I have a photo contest and used a form with a upload file button. I tested it with files and it seemed to work then I got told that it wouldn't take larger files. I had used max size = 10500 in KB. The form validated and I get the form just not the attachment! Please help!

Code: Select all

You can see the site live:
http://www.mypalmyra.com
greenhousegraphix
New php-forum User
New php-forum User
 
Posts: 1
Joined: Fri Apr 06, 2012 8:46 am

Re: PHP upload file error

Postby mistry009 » Wed Apr 18, 2012 3:46 am

Hello,


Set this
Code: Select all
upload_max_filesize = 10M
at the top of your page.

Regards,
Mistry Sandip
mistry009
New php-forum User
New php-forum User
 
Posts: 15
Joined: Tue Apr 17, 2012 9:35 pm
Location: Surat

Re: PHP upload file error

Postby L33R » Mon Apr 23, 2012 3:49 am

set your MAX_FILE_SIZE

<input type="hidden"name="MAX_FILE_SIZE" value=file size here />

also check phpinfo() for upload_max_filesize.
User avatar
L33R
New php-forum User
New php-forum User
 
Posts: 132
Joined: Fri Dec 30, 2011 4:27 am
Location: Liverpool


Return to PHP coding => Mail

Who is online

Users browsing this forum: No registered users and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron