Reputation: 2225
Does anybody know what settings to configure when using Postman extension for Chrome for testing file uploading in a Laravel 4 app?
$file = Input::file('media');
var_dump($file);
Returns null.
Upvotes: 1
Views: 4136
Reputation: 2225
Turns out check your PHP.ini settings and restart apache and PHP. I was testing video files which exceeded the POST and upload size limits in my configuration, hence the results.
Upvotes: 1