Laravel Classroom image

Prashant  Nigam / Student / Web Technology

 
To post your Question Join Classroom
 
Lesson Topics's No:-  First|1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9|Last
Lessons:-Handling Input

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();

 
 
 

Prashant  Nigam

Skills    Laravel

Qualifications :-
Location :-,,,
Description:-
Explore
 

  Students (0)