What are the potential limitations or pitfalls of using post_max_size in PHP for file uploads?

Using post_max_size in PHP for file uploads can limit the maximum size of files that can be uploaded to a server. This can be a potential pitfall if larger files need to be uploaded. To address this limitation, you can increase the post_max_size value in your PHP configuration to allow for larger file uploads.

// Increase the post_max_size value in your PHP configuration
ini_set('post_max_size', '100M');