Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14611 reviews 1734 hosting providers

Questions & Answers

Uploading Files using PHP

Dec 2, 2012 by GeekNew
Hi..
I am using PHP and I am looking for a way to allow users on my site to upload files. I also want to allow the users to upload large files without getting any errors. Is that possible? If anyone can help me I would really appreciate it.
Many thanks in advanced

1 Answer

0 votes
Dec 2, 2012 by TopNet
to upload files using PHP you can use the $_FILES
This tutorials will explain this in details
http://www.w3schools.com/php/php_file_upload.asp
As for uploading large files, you should add the following line in the php.ini file
upload_max_filesize