Php Files Backup | Open Source

in #utopian-io7 years ago

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

Sort:  

Approved.

You created a lot of posts in last days. Some of them are very similar and the code seems to be for one-time use only. Moderators may reject such contributions if they think that you try to maximize the profit. Such behaviour is not allowed.

You can contact us on Discord.
[utopian-moderator]

Hey @ruhum I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x