I made a function that creates a file in php, but I need it to return true if everything worked fine or false if one of the steps failed. I have decided as follows:
function createFile($path, $nome, $content){
if (!($fp = fop...
asked by
27.12.2016 / 16:28