I'm trying to upload files to my laravel site using <input type="file"> yet it seems to be passing a string to the controller. I have this test to see if its a file yet I keep getting File not ok.
if (Input::hasFile('file')) {
dd('File ok');
}
dd('File not ok');
Any ideas? Thanks
if (Input::hasFile('file')) { dd('File ok'); } else { dd('File not ok'); }