DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
laravel download file from public folder
$filePath
=
public_path
(
"name_of_your_file.txt"
)
;
return
Response
::
download
(
$filePath
)
;
Source by pbphpsolutions.com #
PREVIOUS
NEXT
Tagged:
#laravel
#download
#file
#public
#folder
ADD COMMENT
Topic
COMMENT
Name
8+6 =
Submit