In general, there is no big problem and it is quite easy to change permissions of a directory to 0777 or something different, you simply do (if you create) mkdir('/project/data/videos', 0777)
but this might not work…
Continue reading “How to change directory permissions in PHP”
Month: November 2017
Escape backslash and special char in PHP – command line
If you ever need to escape special char with a backslash and then to escape the backslash in shell_exec() or exec() PHP functions (not only).
Continue reading “Escape backslash and special char in PHP – command line”