Created
July 17, 2019 21:41
-
-
Save parzibyte/ef08a92b85320d0d55dd16b0c58babcb to your computer and use it in GitHub Desktop.
Adjuntar, no sobrescribir, con file_put_contents
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// https://parzibyte.me/blog | |
$nombreArchivo = "direccion.txt"; | |
$datos = "New New York #456"; | |
file_put_contents($nombreArchivo, $datos, FILE_APPEND); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment