Php Files Backup | Open Source

Words
213
Reading
1 min
Listen
Play
9y

Hello friends,

What is this;

With Php Files Backup Script, you can back up the backups of your server files with all or just one folder at a time.

Description;

I hope the Php Files Backup Script is useful for all of you. When writing the code we will get help from extension_loaded, file_exists, realpath, is_dir, is_file, file_get_contents, str_replace, isset, uniqid. I have not explained the details of the functions below.

Functions we will use;

extension_loaded = Find out whether an extension is loaded
file_exists = Checks whether a file or directory exists
realpath = Returns canonicalized absolute pathname
is_dir = Tells whether the filename is a directory
is_file = Tells whether the filename is a regular file
file_get_contents = Reads entire file into a string
str_replace = Replace all occurrences of the search string with the replacement string
isset = Determine if a variable is set and is not NULL
uniqid = Generate a unique ID

Setup

You need to have the ZipArchive class installed on the server when you upload the files to the server. After uploading files, it will work without any problems.

Github Project:

Github Project.png
https://github.com/Ruhum36/Php-File-Backup

Github Profile

Github Profile.png

Github Project

Github Project.png

Interface

Interface.png

Codes

Codes.png

Result

Result.png



Posted on Utopian.io - Rewarding Open Source Contributors

Php Files Backup | Open Source | Ecency