Uploading Files using PHP

46 views
asked Dec 1, 2012 in General by GeekNew (720 points)
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 like 0 dislike
answered Dec 1, 2012 by TopNet (10,360 points)
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
...