Posts by Diego • 31 points
1 post
-
3
votes3
answers3788
viewsA: How to copy a file with PHP?
Well, if you’re going to copy a file . php use the php copy() function: http://php.net/manual/en/function.copy.php $arquivo = 'arquivo.php'; $copia = 'copia.php'; if (!copy($arquivo, $copia)) { echo…