7.2 Files
To access an element from the $_FILES array, make a call to the Input::file() method, for
example..
1 <?php
2
3 $file = Input::file('spoon');
If you would like to retrieve a file attribute then add a period and an attribute key to the first
parameter, for example to retrieve the file size..
1 $size = Input::file('spoon.size');
Once again, calling the method without a parameter will retrieve the full array of files.
** Note: You can use this syntax to access all multi dimensional arrays. Simply use a period to
denote a nested array index. **
1 $files = Input::file();
Anil Bist
Skills Laravel
Qualifications :- High School - SLV, College/University - Graphic Era Deemed Univ University,Location :-Dehradun,Dehradun,Uttarakhand,India
Description:-
I started my Professional Journey in 2006 with one of the Web Development Company in Bangalore and my 1st framework was "Ruby on Rail" as Web development and delivered around 5+ Projects using this platform. Then came another dimension as JEE/Sturst framework, Gradually I realized that I want to build something on my own and give my passion and energy on creating something different a
Explore