Limitations on file uploads


show more Limitations on file uploads provides you with in-depth training on Developer. Taught by David Powers as part of the Uploading Files Securely with PHP show less
please wait ...

Limitations on file uploads

File uploads are controlled by several PHP configuration directives. So it's a good idea to run phpinfo to see what limitations apply to your server's setup. I've got phpinfo in this file here, so let's just run it in a browser. And these are the configuration settings for my server. All the directives that relate to uploads are in the Core section close to the top. So let's just scroll down to find it. Here's the Core section. And the most important directive for file uploads is called file_uploads.

It's this one here. And of course, it goes without saying, that this must be on for file uploads to work. The other directives so spread out in different parts of this core list. So to make it easier to focus, I've listed them all together. Both file_uploads and upload_tmp_dir can be changed only by the server administrator in the main server configuration files. upload_tmp_dir controls where upload files are stored temporarily before being processed.

This normally defaults to...

Limitations on file uploads
Video duration: 5m 53s 2h 50m Intermediate

Viewers:

Limitations on file uploads provides you with in-depth training on Developer. Taught by David Powers as part of the Uploading Files Securely with PHP

Subject:
Developer
Software:
PHP
Author:
please wait ...