
Sometimes you need to show your domain stats to somebody. Directadmin provides this functionality: it is possible to create a link to stats at its statistics page.
But what should you do then you don’t need stats to be public? As you can see, there is no option to disable public stats view.
It is not a secret, that most e-mails that are sent by PHP mail() function are not delivered due to spam filters enabled. Even if you pass all the necessary headers, your message is often delivered to SPAM folder and in fact will never be read. In order to avoid this, we will send e-mails using a free class and Gmail SMTP. You need to have a Gmail account to use this method, but I think it should not be a problem. You will also have to pass your Gmail password to this script.
Today I will show you how to send ICQ messages using PHP. We will need a class, named Webicqlite. You can download it and rename to WebIcqLite.class.php.
Sending ICQ messages never been so easy with this class. In order to test it, we will need login and password for ICQ, if you don’t have it, you can obtain it at ICQ.
Here comes the code listing:
Dynamic DNS represents a DNS management system, that allows to periodically update DNS records. Since almost any DNS server provides this functionality, dynamic DNS is used when updates need to be more frequent than usually and updated DNS becomes the most important point in user activity (more than speed, system stability, etc).
When you need to establish connection with a hostname, that has a dynamic IP address (most typical situation – a hostname, that has an unstable Internet connection), Dynamic DNS becomes a simple yet stable solution.
In order to process images with php using image processing functions, you need to have Imagemagick support installed. Since I haven’t found any clear reference, how to do it fast, let me post my solution, it should help you to add Imagemagick support to your PHP installation.
If you’re dealing with image processing, you should probably know that one of the most powerful and flexible software is Imagemagick. Here is the description from the official site:
It is very useful to see visitors’ country information when you’re watching awstats logs. Let me tell you what to do if you don’t have Geoip support enabled on your server.
First of all, we will need to download and install GeoIP. We will take free version, but if you really require good stats, you may buy one. Let’s switch to a temporary directory to issue the following commands:
Sometimes we need to automatically restart Tomcat server. Here is the way to do that automatically, using a shell script and our crontab.
First of all, we will add some variables to our /etc/crontab file.
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/java/jdk1.5.0_07/bin
MAILTO=root
HOME=/home/admin/
JAVA_HOME=/usr/java/jdk1.5.0_07/bin/java
Though RAR provides its own interface to create multipart archives, sometimes users prefer to use another file splitting options. An example could be HJSPLIT, that provides the ability to split files of any type. Since archives are used to economize space and traffic, splitting an archive into multiple parts may be useful when there are attachment limits, or any other cases that are related to limited space.
It is a known issue that modern Linux systems are missing stropts.h file. You will probably have some problems when trying to compile software like pppd, pptp, gftp, etc from sources. Seems to be a strange thing, as you won’t get any errors in previous versions of Linux. Most recent versions of Fedora don’t contain this file, that’s why we need to know what to do if software compilation fails because of missing stropts.h.
“The team at Blisstering took personal pride in their development work, even to the point of augmenting the product with improvements and enhancements in order to deliver the best solution possible.”
Gale Wilson-Steele
Founder and CEO
CareSeek
“It was my first time using a website development company, and as much as I apprehended the whole process, it could not have been easier. At Blisstering, they made the whole process much less threatening than it seemed by being pleasant, cooperative, helpful, creative. They were quick to start work on our CRM solution, and to get it to completion -- on-time and on-budget. I love the final result! I strongly recommend Blisstering Solutions, and with pleasure.”
R. R. Shah
International Marketing Corporation