Linux has two built in command to copy files between Linux system over ssh.
- scp (Secure Copy)
- rsync (Remote Sync)
rsync is more powerful then scp because it has options to compress data while transfer and has ability to resume previously interrupted/broken transfer. To use these command you need ssh access to remote machine. Continue reading
An Envato Affiliate WordPress plugin to display envato market place item in WordPress Post and Page with your referral link.
This plugin has inbuilt click counter that help to track click on different envato item. Continue reading
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.
- PHP core Gettext library
- PHP Gettext class (Mainly written for wordpress)
PHP core Gettext requires GNU gettext package to be installed on system. Whereas PHP gettext class doesn’t 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 php-gettext class. Continue reading
One more SEO plugin for wordpress user.
I have created backlink checker plugin that lets you find list of backlinks pointing to your blog.
Referrer spam is a technique involves making repeated web site requests using a fake referer 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. Continue reading
In php creating zip file is very easy. PHP 5.2 has an inbuilt class ZipArchive to manipulate zip file, if you are using a older version of php then you can install PECL zip 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. Continue reading
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. Continue reading
PHP widely used for web development. More than 80% websites on internet are built using php. In this article i’ll tell you 10 most useful tips for php. Continue reading
It is a good idea to convert all urls into links in your web application like contact form, comment forms, chat application etc. To find and replace all urls with their links we will use php
preg_replace function. See below example
$text = "Hello Friends my website url is http://99webtools.com";
$text = preg_replace("~[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]~",'<a href="$0">$0</a>',$text);
Hello Friends my website url is http://99webtools.com