{"id":22,"date":"2026-01-14T08:20:49","date_gmt":"2026-01-14T08:20:49","guid":{"rendered":"http:\/\/99webtools.com\/simple-bash-script-to-backup-directory-and-mysql-database-to-dropbox\/"},"modified":"2026-01-14T08:20:49","modified_gmt":"2026-01-14T08:20:49","slug":"simple-bash-script-to-backup-directory-and-mysql-database-to-dropbox","status":"publish","type":"page","link":"https:\/\/99webtools.com\/articles.html","title":{"rendered":"Simple bash script to backup directory and MySQL database to Dropbox"},"content":{"rendered":"<div class=\"col-md-8\">\n<article id=\"post-400\" class=\"post-400 post type-post status-publish format-standard hentry category-linux tag-backup tag-bash tag-cronjob tag-dropbox tag-linux\">\n<header class=\"entry-header\">\n<h1 class=\"entry-title\">\n\t\t\t\t<a href=\"https:\/\/99webtools.com\/blog\/simple-bash-script-to-backup-directory-and-mysql-database-to-dropbox.html\" rel=\"bookmark\">Simple bash script to backup directory and MySQL database to Dropbox<\/a><br \/>\n\t\t\t<\/h1>\n<div class=\"entry-meta\">\n\t\t\t<span class=\"date\"><span class=\"glyphicon glyphicon-time\">&nbsp;<\/span> <a href=\"https:\/\/99webtools.com\/blog\/simple-bash-script-to-backup-directory-and-mysql-database-to-dropbox.html\" title=\"Permalink to Simple bash script to backup directory and MySQL database to Dropbox\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"2020-05-25T08:54:13+00:00\">May 25, 2020<\/time><\/a><\/span><span class=\"categories-links\"><span class=\"glyphicon glyphicon-folder-open\">&nbsp;<\/span> <a href=\"https:\/\/99webtools.com\/blog\/category\/linux.html\" rel=\"category tag\">Linux<\/a><\/span><span class=\"tags-links\"><span class=\"glyphicon glyphicon-tag\">&nbsp;<\/span> <a href=\"https:\/\/99webtools.com\/blog\/tag\/backup.html\" rel=\"tag\">backup<\/a>, <a href=\"https:\/\/99webtools.com\/blog\/tag\/bash.html\" rel=\"tag\">bash<\/a>, <a href=\"https:\/\/99webtools.com\/blog\/tag\/cronjob.html\" rel=\"tag\">cronjob<\/a>, <a href=\"https:\/\/99webtools.com\/blog\/tag\/dropbox.html\" rel=\"tag\">dropbox<\/a>, <a href=\"https:\/\/99webtools.com\/blog\/tag\/linux.html\" rel=\"tag\">linux<\/a><\/span><span class=\"author vcard\"><span class=\"glyphicon glyphicon-user\">&nbsp;<\/span> <a class=\"url fn n\" href=\"https:\/\/99webtools.com\/blog\/author\/sunny.html\" title=\"View all posts by Sunny\" rel=\"author\">Sunny<\/a><\/span>\t\t\t\t\t\t<\/div>\n<\/header>\n<p><!-- .entry-header --><\/p>\n<div class=\"entry-content\">\n<p class=\"bms8vtyd8szzajbcw\">Backup of important data or website is crucial if a system crash or hard drive failure occurs. There many software are available on internet to backup data. Some of those are paid or not easy to use, So I decided to create my own bash script to <a href=\"https:\/\/99webtools.com\/blog\/backup-and-restore-large-mysql-database.html\">backup MySQL database<\/a>  and directories  on Linux. This script also uploads backups to Dropbox account.<\/p>\n<p> <a href=\"https:\/\/99webtools.com\/blog\/simple-bash-script-to-backup-directory-and-mysql-database-to-dropbox.html#more-400\" class=\"more-link\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a>\t\t\t\t\t<\/div>\n<p><!-- .entry-content --><\/p>\n<footer>\n<div class=\"comments-link\">\n\t\t\t\t\t<a href=\"https:\/\/99webtools.com\/blog\/simple-bash-script-to-backup-directory-and-mysql-database-to-dropbox.html#respond\"><span class=\"leave-reply\">Leave a reply<\/span><\/a>\t\t\t\t<\/div>\n<p><!-- .comments-link --><br \/>\n\t\t\t\t\t\t\t\t<\/footer>\n<p><!-- .entry-meta --><br \/>\n\t<\/article>\n<p><!-- #post --><\/p>\n<article id=\"post-388\" class=\"post-388 post type-post status-publish format-standard hentry category-mysql\">\n<header class=\"entry-header\">\n<h1 class=\"entry-title\">\n\t\t\t\t<a href=\"https:\/\/99webtools.com\/blog\/how-to-import-csv-file-in-mysql-database.html\" rel=\"bookmark\">How to import csv file in MySQL database?<\/a><br \/>\n\t\t\t<\/h1>\n<div class=\"entry-meta\">\n\t\t\t<span class=\"date\"><span class=\"glyphicon glyphicon-time\">&nbsp;<\/span> <a href=\"https:\/\/99webtools.com\/blog\/how-to-import-csv-file-in-mysql-database.html\" title=\"Permalink to How to import csv file in MySQL database?\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"2019-08-14T07:14:49+00:00\">August 14, 2019<\/time><\/a><\/span><span class=\"categories-links\"><span class=\"glyphicon glyphicon-folder-open\">&nbsp;<\/span> <a href=\"https:\/\/99webtools.com\/blog\/category\/mysql.html\" rel=\"category tag\">Mysql<\/a><\/span><span class=\"author vcard\"><span class=\"glyphicon glyphicon-user\">&nbsp;<\/span> <a class=\"url fn n\" href=\"https:\/\/99webtools.com\/blog\/author\/sunny.html\" title=\"View all posts by Sunny\" rel=\"author\">Sunny<\/a><\/span>\t\t\t\t\t\t<\/div>\n<\/header>\n<p><!-- .entry-header --><\/p>\n<div class=\"entry-content\">\n<p class=\"bms8vtyd8szzajbcw\">In this tutorial I will explain you two methods to import csv file into MySQL  database. First this requires a MySQL database with same numbers of column as csv file.<\/p>\n<ol>\n<li>Import csv with LOAD DATA INFILE<\/li>\n<li>Import csv file with mysqlimport<\/li>\n<\/ol>\n<p> <a href=\"https:\/\/99webtools.com\/blog\/how-to-import-csv-file-in-mysql-database.html#more-388\" class=\"more-link\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a>\t\t\t\t\t<\/div>\n<p><!-- .entry-content --><\/p>\n<footer>\n<div class=\"comments-link\">\n\t\t\t\t\t<a href=\"https:\/\/99webtools.com\/blog\/how-to-import-csv-file-in-mysql-database.html#respond\"><span class=\"leave-reply\">Leave a reply<\/span><\/a>\t\t\t\t<\/div>\n<p><!-- .comments-link --><br \/>\n\t\t\t\t\t\t\t\t<\/footer>\n<p><!-- .entry-meta --><br \/>\n\t<\/article>\n<p><!-- #post --><\/p>\n<article id=\"post-366\" class=\"post-366 post type-post status-publish format-standard hentry category-php\">\n<header class=\"entry-header\">\n<h1 class=\"entry-title\">\n\t\t\t\t<a href=\"https:\/\/99webtools.com\/blog\/truncate-a-string-in-php-without-breaking-words.html\" rel=\"bookmark\">Truncate a string in PHP without breaking words<\/a><br \/>\n\t\t\t<\/h1>\n<div class=\"entry-meta\">\n\t\t\t<span class=\"date\"><span class=\"glyphicon glyphicon-time\">&nbsp;<\/span> <a href=\"https:\/\/99webtools.com\/blog\/truncate-a-string-in-php-without-breaking-words.html\" title=\"Permalink to Truncate a string in PHP without breaking words\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"2019-08-12T07:31:20+00:00\">August 12, 2019<\/time><\/a><\/span><span class=\"categories-links\"><span class=\"glyphicon glyphicon-folder-open\">&nbsp;<\/span> <a href=\"https:\/\/99webtools.com\/blog\/category\/php.html\" rel=\"category tag\">PHP<\/a><\/span><span class=\"author vcard\"><span class=\"glyphicon glyphicon-user\">&nbsp;<\/span> <a class=\"url fn n\" href=\"https:\/\/99webtools.com\/blog\/author\/sunny.html\" title=\"View all posts by Sunny\" rel=\"author\">Sunny<\/a><\/span>\t\t\t\t\t\t<\/div>\n<\/header>\n<p><!-- .entry-header --><\/p>\n<div class=\"entry-content\">\n<p class=\"bms8vtyd8szzajbcw\">I was working on PHP project that require to get a text from MySQL and display only 50 character. Thus I used php <em>substr<\/em> function to truncate a text to first 50 character.<\/p>\n<p> <a href=\"https:\/\/99webtools.com\/blog\/truncate-a-string-in-php-without-breaking-words.html#more-366\" class=\"more-link\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a>\t\t\t\t\t<\/div>\n<p><!-- .entry-content --><\/p>\n<footer>\n<div class=\"comments-link\">\n\t\t\t\t\t<a href=\"https:\/\/99webtools.com\/blog\/truncate-a-string-in-php-without-breaking-words.html#respond\"><span class=\"leave-reply\">Leave a reply<\/span><\/a>\t\t\t\t<\/div>\n<p><!-- .comments-link --><br \/>\n\t\t\t\t\t\t\t\t<\/footer>\n<p><!-- .entry-meta --><br \/>\n\t<\/article>\n<p><!-- #post --><\/p>\n<article id=\"post-350\" class=\"post-350 post type-post status-publish format-standard hentry category-linux\">\n<header class=\"entry-header\">\n<h1 class=\"entry-title\">\n\t\t\t\t<a href=\"https:\/\/99webtools.com\/blog\/find-number-of-concurrent-apache-connection-by-ip.html\" rel=\"bookmark\">Find number of concurrent Apache connection by IP<\/a><br \/>\n\t\t\t<\/h1>\n<div class=\"entry-meta\">\n\t\t\t<span class=\"date\"><span class=\"glyphicon glyphicon-time\">&nbsp;<\/span> <a href=\"https:\/\/99webtools.com\/blog\/find-number-of-concurrent-apache-connection-by-ip.html\" title=\"Permalink to Find number of concurrent Apache connection by IP\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"2019-08-11T05:48:28+00:00\">August 11, 2019<\/time><\/a><\/span><span class=\"categories-links\"><span class=\"glyphicon glyphicon-folder-open\">&nbsp;<\/span> <a href=\"https:\/\/99webtools.com\/blog\/category\/linux.html\" rel=\"category tag\">Linux<\/a><\/span><span class=\"author vcard\"><span class=\"glyphicon glyphicon-user\">&nbsp;<\/span> <a class=\"url fn n\" href=\"https:\/\/99webtools.com\/blog\/author\/sunny.html\" title=\"View all posts by Sunny\" rel=\"author\">Sunny<\/a><\/span>\t\t\t\t\t\t<\/div>\n<\/header>\n<p><!-- .entry-header --><\/p>\n<div class=\"entry-content\">\n<p class=\"bms8vtyd8szzajbcw\">Some time web server response very slow due to multiple concurrent connection to Apache. As we know that each web server has different Apache configuration depends upon its hardware (Processor and RAM). Maximum allowed Apache concurrent connection can be configured by <em>ServerLimit<\/em> directive in apache2.conf file. After exceeding this limit new apache connection goes in queue. Thus web server response very slow.<\/p>\n<p class=\"bms8vtyd8szzajbcw\"> <a href=\"https:\/\/99webtools.com\/blog\/find-number-of-concurrent-apache-connection-by-ip.html#more-350\" class=\"more-link\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n<\/p><\/div>\n<p><!-- .entry-content --><\/p>\n<footer>\n<div class=\"comments-link\">\n\t\t\t\t\t<a href=\"https:\/\/99webtools.com\/blog\/find-number-of-concurrent-apache-connection-by-ip.html#respond\"><span class=\"leave-reply\">Leave a reply<\/span><\/a>\t\t\t\t<\/div>\n<p><!-- .comments-link --><br \/>\n\t\t\t\t\t\t\t\t<\/footer>\n<p><!-- .entry-meta --><br \/>\n\t<\/article>\n<p><!-- #post --><\/p>\n<article id=\"post-325\" class=\"post-325 post type-post status-publish format-standard hentry category-linux\">\n<header class=\"entry-header\">\n<h1 class=\"entry-title\">\n\t\t\t\t<a href=\"https:\/\/99webtools.com\/blog\/linux-copy-remote-file-to-local-over-ssh.html\" rel=\"bookmark\">Linux copy remote file to local over SSH<\/a><br \/>\n\t\t\t<\/h1>\n<div class=\"entry-meta\">\n\t\t\t<span class=\"date\"><span class=\"glyphicon glyphicon-time\">&nbsp;<\/span> <a href=\"https:\/\/99webtools.com\/blog\/linux-copy-remote-file-to-local-over-ssh.html\" title=\"Permalink to Linux copy remote file to local over SSH\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"2017-09-27T16:06:58+00:00\">September 27, 2017<\/time><\/a><\/span><span class=\"categories-links\"><span class=\"glyphicon glyphicon-folder-open\">&nbsp;<\/span> <a href=\"https:\/\/99webtools.com\/blog\/category\/linux.html\" rel=\"category tag\">Linux<\/a><\/span><span class=\"author vcard\"><span class=\"glyphicon glyphicon-user\">&nbsp;<\/span> <a class=\"url fn n\" href=\"https:\/\/99webtools.com\/blog\/author\/sunny.html\" title=\"View all posts by Sunny\" rel=\"author\">Sunny<\/a><\/span>\t\t\t\t\t\t<\/div>\n<\/header>\n<p><!-- .entry-header --><\/p>\n<div class=\"entry-content\">\n<p class=\"bms8vtyd8szzajbcw\">When uploading your website to new server or migrating a website to different server then you are require to copy some file from one machine to another. There are various ways to do this like web-base uploading and FTP etc. But in this article I will introduce you with two more Linux command to copy files between two Linux server. Which are more powerful then ftp.<\/p>\n<p class=\"bms8vtyd8szzajbcw\"> <a href=\"https:\/\/99webtools.com\/blog\/linux-copy-remote-file-to-local-over-ssh.html#more-325\" class=\"more-link\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n<\/p><\/div>\n<p><!-- .entry-content --><\/p>\n<footer>\n<div class=\"comments-link\">\n\t\t\t\t\t<a href=\"https:\/\/99webtools.com\/blog\/linux-copy-remote-file-to-local-over-ssh.html#respond\"><span class=\"leave-reply\">Leave a reply<\/span><\/a>\t\t\t\t<\/div>\n<p><!-- .comments-link --><br \/>\n\t\t\t\t\t\t\t\t<\/footer>\n<p><!-- .entry-meta --><br \/>\n\t<\/article>\n<p><!-- #post --><\/p>\n<article id=\"post-246\" class=\"post-246 post type-post status-publish format-standard hentry category-wordpress\">\n<header class=\"entry-header\">\n<h1 class=\"entry-title\">\n\t\t\t\t<a href=\"https:\/\/99webtools.com\/blog\/envato-affiliate-wordpress-plugin.html\" rel=\"bookmark\">Envato affiliate WordPress plugin<\/a><br \/>\n\t\t\t<\/h1>\n<div class=\"entry-meta\">\n\t\t\t<span class=\"date\"><span class=\"glyphicon glyphicon-time\">&nbsp;<\/span> <a href=\"https:\/\/99webtools.com\/blog\/envato-affiliate-wordpress-plugin.html\" title=\"Permalink to Envato affiliate WordPress plugin\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"2015-10-04T05:29:51+00:00\">October 4, 2015<\/time><\/a><\/span><span class=\"categories-links\"><span class=\"glyphicon glyphicon-folder-open\">&nbsp;<\/span> <a href=\"https:\/\/99webtools.com\/blog\/category\/wordpress.html\" rel=\"category tag\">WordPress<\/a><\/span><span class=\"author vcard\"><span class=\"glyphicon glyphicon-user\">&nbsp;<\/span> <a class=\"url fn n\" href=\"https:\/\/99webtools.com\/blog\/author\/sunny.html\" title=\"View all posts by Sunny\" rel=\"author\">Sunny<\/a><\/span>\t\t\t\t\t\t<\/div>\n<\/header>\n<p><!-- .entry-header --><\/p>\n<div class=\"entry-content\">\n<p class=\"bms8vtyd8szzajbcw\">An Envato Affiliate WordPress plugin to display envato market place item in WordPress Post and Page with your referral link.<\/p>\n<p class=\"bms8vtyd8szzajbcw\">This plugin has inbuilt click counter that help to track click on different envato item. <a href=\"https:\/\/99webtools.com\/blog\/envato-affiliate-wordpress-plugin.html#more-246\" class=\"more-link\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n<\/p><\/div>\n<p><!-- .entry-content --><\/p>\n<footer>\n<div class=\"comments-link\">\n\t\t\t\t\t<a href=\"https:\/\/99webtools.com\/blog\/envato-affiliate-wordpress-plugin.html#comments\">1 Reply<\/a>\t\t\t\t<\/div>\n<p><!-- .comments-link --><br \/>\n\t\t\t\t\t\t\t\t<\/footer>\n<p><!-- .entry-meta --><br \/>\n\t<\/article>\n<p><!-- #post --><\/p>\n<article id=\"post-213\" class=\"post-213 post type-post status-publish format-standard hentry category-php\">\n<header class=\"entry-header\">\n<h1 class=\"entry-title\">\n\t\t\t\t<a href=\"https:\/\/99webtools.com\/blog\/make-php-project-translation-ready-with-gettext.html\" rel=\"bookmark\">Make php project translation ready with gettext<\/a><br \/>\n\t\t\t<\/h1>\n<div class=\"entry-meta\">\n\t\t\t<span class=\"date\"><span class=\"glyphicon glyphicon-time\">&nbsp;<\/span> <a href=\"https:\/\/99webtools.com\/blog\/make-php-project-translation-ready-with-gettext.html\" title=\"Permalink to Make php project translation ready with gettext\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"2015-08-14T07:54:57+00:00\">August 14, 2015<\/time><\/a><\/span><span class=\"categories-links\"><span class=\"glyphicon glyphicon-folder-open\">&nbsp;<\/span> <a href=\"https:\/\/99webtools.com\/blog\/category\/php.html\" rel=\"category tag\">PHP<\/a><\/span><span class=\"author vcard\"><span class=\"glyphicon glyphicon-user\">&nbsp;<\/span> <a class=\"url fn n\" href=\"https:\/\/99webtools.com\/blog\/author\/sunny.html\" title=\"View all posts by Sunny\" rel=\"author\">Sunny<\/a><\/span>\t\t\t\t\t\t<\/div>\n<\/header>\n<p><!-- .entry-header --><\/p>\n<div class=\"entry-content\">\n<p class=\"bms8vtyd8szzajbcw\">I was working on php script that requires translation in multi-language, So I found two ways to make it translation ready with PO and MO files. Here are the two methods to translate a php project using gettext PO\/MO files.<\/p>\n<ol>\n<li><a href=\"http:\/\/php.net\/manual\/en\/book.gettext.php\" target=\"_blank\">PHP core Gettext library<\/a><\/li>\n<li><a href=\"https:\/\/launchpad.net\/php-gettext\/\" target=\"_blank\">PHP Gettext class<\/a> (Mainly written for wordpress)<\/li>\n<\/ol>\n<p class=\"bms8vtyd8szzajbcw\">PHP core Gettext requires GNU gettext package to be installed on system. Whereas PHP gettext class doesn\u2019t have any dependency. It can directly ready MO file and extract translation text from that. Also It works on windows server without problem. So in this article I will guide you how to use <strong>php-gettext class<\/strong>. <a href=\"https:\/\/99webtools.com\/blog\/make-php-project-translation-ready-with-gettext.html#more-213\" class=\"more-link\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n<\/p><\/div>\n<p><!-- .entry-content --><\/p>\n<footer>\n<div class=\"comments-link\">\n\t\t\t\t\t<a href=\"https:\/\/99webtools.com\/blog\/make-php-project-translation-ready-with-gettext.html#respond\"><span class=\"leave-reply\">Leave a reply<\/span><\/a>\t\t\t\t<\/div>\n<p><!-- .comments-link --><br \/>\n\t\t\t\t\t\t\t\t<\/footer>\n<p><!-- .entry-meta --><br \/>\n\t<\/article>\n<p><!-- #post --><\/p>\n<article id=\"post-196\" class=\"post-196 post type-post status-publish format-standard hentry category-other\">\n<header class=\"entry-header\">\n<h1 class=\"entry-title\">\n\t\t\t\t<a href=\"https:\/\/99webtools.com\/blog\/block-referrer-spam-with-htaccess.html\" rel=\"bookmark\">Block referrer spam with htaccess<\/a><br \/>\n\t\t\t<\/h1>\n<div class=\"entry-meta\">\n\t\t\t<span class=\"date\"><span class=\"glyphicon glyphicon-time\">&nbsp;<\/span> <a href=\"https:\/\/99webtools.com\/blog\/block-referrer-spam-with-htaccess.html\" title=\"Permalink to Block referrer spam with htaccess\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"2015-07-31T06:49:03+00:00\">July 31, 2015<\/time><\/a><\/span><span class=\"categories-links\"><span class=\"glyphicon glyphicon-folder-open\">&nbsp;<\/span> <a href=\"https:\/\/99webtools.com\/blog\/category\/other.html\" rel=\"category tag\">Other<\/a><\/span><span class=\"author vcard\"><span class=\"glyphicon glyphicon-user\">&nbsp;<\/span> <a class=\"url fn n\" href=\"https:\/\/99webtools.com\/blog\/author\/sunny.html\" title=\"View all posts by Sunny\" rel=\"author\">Sunny<\/a><\/span>\t\t\t\t\t\t<\/div>\n<\/header>\n<p><!-- .entry-header --><\/p>\n<div class=\"entry-content\">\n<p class=\"bms8vtyd8szzajbcw\"><a class=\"zem_slink\" title=\"Referer spam\" href=\"http:\/\/en.wikipedia.org\/wiki\/Referer_spam\" target=\"_blank\" rel=\"wikipedia\">Referrer spam<\/a> is a technique involves making repeated web site requests using a fake <b>referer<\/b> URL to the site the spammer wishes to advertise. Now a days I am getting to much referrer spam on 99webtools that causes inaccurate stats at Google analytics. You can also find some of these referrer in your analytic. Here is the list of referrer that spamming 99webtools. <a href=\"https:\/\/99webtools.com\/blog\/block-referrer-spam-with-htaccess.html#more-196\" class=\"more-link\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n<\/p><\/div>\n<p><!-- .entry-content --><\/p>\n<footer>\n<div class=\"comments-link\">\n\t\t\t\t\t<a href=\"https:\/\/99webtools.com\/blog\/block-referrer-spam-with-htaccess.html#respond\"><span class=\"leave-reply\">Leave a reply<\/span><\/a>\t\t\t\t<\/div>\n<p><!-- .comments-link --><br \/>\n\t\t\t\t\t\t\t\t<\/footer>\n<p><!-- .entry-meta --><br \/>\n\t<\/article>\n<p><!-- #post --><\/p>\n<article id=\"post-191\" class=\"post-191 post type-post status-publish format-standard hentry category-php\">\n<header class=\"entry-header\">\n<h1 class=\"entry-title\">\n\t\t\t\t<a href=\"https:\/\/99webtools.com\/blog\/create-zip-archive-with-php.html\" rel=\"bookmark\">Create zip archive with php<\/a><br \/>\n\t\t\t<\/h1>\n<div class=\"entry-meta\">\n\t\t\t<span class=\"date\"><span class=\"glyphicon glyphicon-time\">&nbsp;<\/span> <a href=\"https:\/\/99webtools.com\/blog\/create-zip-archive-with-php.html\" title=\"Permalink to Create zip archive with php\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"2015-07-29T18:15:00+00:00\">July 29, 2015<\/time><\/a><\/span><span class=\"categories-links\"><span class=\"glyphicon glyphicon-folder-open\">&nbsp;<\/span> <a href=\"https:\/\/99webtools.com\/blog\/category\/php.html\" rel=\"category tag\">PHP<\/a><\/span><span class=\"author vcard\"><span class=\"glyphicon glyphicon-user\">&nbsp;<\/span> <a class=\"url fn n\" href=\"https:\/\/99webtools.com\/blog\/author\/sunny.html\" title=\"View all posts by Sunny\" rel=\"author\">Sunny<\/a><\/span>\t\t\t\t\t\t<\/div>\n<\/header>\n<p><!-- .entry-header --><\/p>\n<div class=\"entry-content\">\n<p class=\"bms8vtyd8szzajbcw\">In php creating zip file is very easy. PHP 5.2 has an inbuilt class <a href=\"http:\/\/php.net\/manual\/en\/class.ziparchive.php\" target=\"_blank\">ZipArchive<\/a> to manipulate zip file, if you are using a older version of php then you can install <a href=\"https:\/\/pecl.php.net\/package\/zip\" target=\"_blank\">PECL zip<\/a> on your server. To make this task more handy I have created a simple function to make zip archive that anyone can use in their web application. <a href=\"https:\/\/99webtools.com\/blog\/create-zip-archive-with-php.html#more-191\" class=\"more-link\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n<\/p><\/div>\n<p><!-- .entry-content --><\/p>\n<footer>\n<div class=\"comments-link\">\n\t\t\t\t\t<a href=\"https:\/\/99webtools.com\/blog\/create-zip-archive-with-php.html#respond\"><span class=\"leave-reply\">Leave a reply<\/span><\/a>\t\t\t\t<\/div>\n<p><!-- .comments-link --><br \/>\n\t\t\t\t\t\t\t\t<\/footer>\n<p><!-- .entry-meta --><br \/>\n\t<\/article>\n<p><!-- #post --><\/p>\n<article id=\"post-184\" class=\"post-184 post type-post status-publish format-standard hentry category-other\">\n<header class=\"entry-header\">\n<h1 class=\"entry-title\">\n\t\t\t\t<a href=\"https:\/\/99webtools.com\/blog\/get-profile-picture-from-facebook-google-twitter-and-gravatar.html\" rel=\"bookmark\">Get profile picture from facebook, google, twitter and gravatar<\/a><br \/>\n\t\t\t<\/h1>\n<div class=\"entry-meta\">\n\t\t\t<span class=\"date\"><span class=\"glyphicon glyphicon-time\">&nbsp;<\/span> <a href=\"https:\/\/99webtools.com\/blog\/get-profile-picture-from-facebook-google-twitter-and-gravatar.html\" title=\"Permalink to Get profile picture from facebook, google, twitter and gravatar\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"2015-07-27T12:37:29+00:00\">July 27, 2015<\/time><\/a><\/span><span class=\"categories-links\"><span class=\"glyphicon glyphicon-folder-open\">&nbsp;<\/span> <a href=\"https:\/\/99webtools.com\/blog\/category\/other.html\" rel=\"category tag\">Other<\/a><\/span><span class=\"author vcard\"><span class=\"glyphicon glyphicon-user\">&nbsp;<\/span> <a class=\"url fn n\" href=\"https:\/\/99webtools.com\/blog\/author\/sunny.html\" title=\"View all posts by Sunny\" rel=\"author\">Sunny<\/a><\/span>\t\t\t\t\t\t<\/div>\n<\/header>\n<p><!-- .entry-header --><\/p>\n<div class=\"entry-content\">\n<p class=\"bms8vtyd8szzajbcw\">An useful resource for developer that requires profile images from various social network website. In this article you will learn how to get profile picture URL from Facebook, Google, Twitter and Gravatar. <a href=\"https:\/\/99webtools.com\/blog\/get-profile-picture-from-facebook-google-twitter-and-gravatar.html#more-184\" class=\"more-link\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n<\/p><\/div>\n<p><!-- .entry-content --><\/p>\n<footer>\n<div class=\"comments-link\">\n\t\t\t\t\t<a href=\"https:\/\/99webtools.com\/blog\/get-profile-picture-from-facebook-google-twitter-and-gravatar.html#comments\">5 Replies<\/a>\t\t\t\t<\/div>\n<p><!-- .comments-link --><br \/>\n\t\t\t\t\t\t\t\t<\/footer>\n<p><!-- .entry-meta --><br \/>\n\t<\/article>\n<p><!-- #post --><\/p>\n<nav id=\"nav-below\" class=\"navigation\" role=\"navigation\">\n<ul class=\"pager\">\n<li class=\"previous\"><a href=\"https:\/\/99webtools.com\/blog\/page\/2.html\"><span class=\"glyphicon glyphicon-arrow-left\">&nbsp;<\/span> Older posts<\/a><\/li>\n<li class=\"next\"><\/li>\n<\/ul>\n<\/nav>\n<p><!-- #nav-below .navigation -->\n\t\t<\/div>\n","protected":false,"raw":""},"excerpt":{"rendered":"<p>Simple bash script to backup directory and MySQL database [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template_3.php","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"class_list":["post-22","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Web Tools - A Linux, Apache, MySQL and PHP blog<\/title>\n<meta name=\"description\" content=\"A Linux and PHP blog for webmasters. This blog contains Linux and PHP tutorials including many ready to use code and scripts\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/99webtools.com\/articles.html\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Web Tools - A Linux, Apache, MySQL and PHP blog\" \/>\n<meta property=\"og:description\" content=\"A Linux and PHP blog for webmasters. This blog contains Linux and PHP tutorials including many ready to use code and scripts\" \/>\n<meta property=\"og:url\" content=\"https:\/\/99webtools.com\/articles.html\" \/>\n<meta property=\"og:site_name\" content=\"Web tools | SEO tools | Web development articles\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Ber\u00e4knad l\u00e4stid\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minuter\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Web Tools - A Linux, Apache, MySQL and PHP blog","description":"A Linux and PHP blog for webmasters. This blog contains Linux and PHP tutorials including many ready to use code and scripts","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/99webtools.com\/articles.html","og_type":"article","og_title":"Web Tools - A Linux, Apache, MySQL and PHP blog","og_description":"A Linux and PHP blog for webmasters. This blog contains Linux and PHP tutorials including many ready to use code and scripts","og_url":"https:\/\/99webtools.com\/articles.html","og_site_name":"Web tools | SEO tools | Web development articles","twitter_card":"summary_large_image","twitter_misc":{"Ber\u00e4knad l\u00e4stid":"4 minuter"}},"_links":{"self":[{"href":"https:\/\/99webtools.com\/wp-json\/wp\/v2\/pages\/22","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/99webtools.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/99webtools.com\/wp-json\/wp\/v2\/types\/page"}],"replies":[{"embeddable":true,"href":"https:\/\/99webtools.com\/wp-json\/wp\/v2\/comments?post=22"}],"version-history":[{"count":0,"href":"https:\/\/99webtools.com\/wp-json\/wp\/v2\/pages\/22\/revisions"}],"wp:attachment":[{"href":"https:\/\/99webtools.com\/wp-json\/wp\/v2\/media?parent=22"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}