DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
laravel create new file if not exists
if (!file_exists('somefile.txt')) { touch('somefile.txt', strtotime('-1 days')); }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#laravel
#create
#file
#exists
ADD COMMENT
Topic
COMMENT
Name
1+3 =
Submit