Personal

Personal Category

Auto Restart MySQL When It Crashes Ubuntu 18.04

Good Day, long enough not blogging on this site. This is my problem when I’m moving some websites into my cloud servers. Sometimes when my traffic going very high MySQL server crashes and I need to run it manually or reboot my server. This is really bad for SEO because my servers uptime will changed.

I am googling about this problem to find solution for resolve this issue and finally I found one is working for me.  Here is the steps you need to follow :

Read More »Auto Restart MySQL When It Crashes Ubuntu 18.04

PHP: How To Create Copyright Watermark On Your Images

This is happen 3 days ago when my friend asking for converting him .htaccess into lighttpd rewrite rules format. After conversion done he wanted to share this script to everyone. If you’re professional Fotographer or just blogger, you may wanted to copyright all your photos/images. Even we know, sometimes people like to share for having fun…. but some people need a copyright to protected his original works before someone copy it. If you’re doing this manually it will take a long time and of course you will bored before this done. In short time we can make a simple watermark to protected our images.

Requirements:

  1. Apache with mod_rewrite / lighttpd (just convert rewrite rules, it should work)
  2. PHP with GD library (check in your phpconfig or asking your webhosting)

Step one.

Prepare one images that you should used as watermark.Â? This images should be in .PNG format, you can created one using photoshop software to make transparant effect.

Step two.

Make new or open your .htaccess files and write down this code inside it:

RewriteEngine On
RewriteRule ^(.+)\.jpg$ wrapper.php?image=$1\.jpg [L]
RewriteRule ^(.+)\.gif$ wrapper.php?image=$1\.gif [L]
RewriteRule ^(.+)\.png$ wrapper.php?image=$1\.png [L]
RewriteRule ^(.+)\.bmp$ wrapper.php?image=$1\.bmp [L]

For Lighttpd users try to using this conversion, if you meet any problem just following your path and symbol :

url.rewrite-once = (
“^\(.*).jpg” => “/wrapper.php?image=$1.jpg”,
“^\(.*).gif” => “/wrapper.php?image=$1.gif”,
“^\(.*).png” => “/wrapper.php?image=$1.png”,
“^\(.*).bmp” => “/wrapper.php?image=$1.bmp”
)

Step three.

Create wrapper.php files and put code below inside it:

<?php
$watermark = “watermark.png”;
$image = $_GET[“image”];

if (empty($image)) die();

if (!file_exists($image)) {
header(“404 Not Found”);
echo “File Not Found.”; die();
}
Read More »PHP: How To Create Copyright Watermark On Your Images

RELATED SEARCH TERMS:

How To: Created 2 Way SMS Gateway With NowSMS and PHP

I believe this topic is good for application developers. In this short article we will learn how to created SMS gateway and applied it on worldwide-web using PHP script. What is SMS? SMS stands for short message service. It’s the text communication service component of phone or mobile communication systems, using standardized communications protocols that allow the exchange of short text messages between fixed line or mobile phone devices… more details about SMS please read in wikipedia. I already written about how to build SMS gateway on my “Bahasa Indonesia” blog, but many people give negative comment on that article… Read More »How To: Created 2 Way SMS Gateway With NowSMS and PHP

My Simple Strategy to Win Forex Daily

Hi everyone, finally….. In this article I want to share my strategy how to win forex daily 🙂 First please note this strategy not always will make you profit 100% but in my case 8:2 i’m profit. You can not blame or bomb me *LOL* when this strategy make you loss to much.. this strategy works fine with me and maybe for other but not guarantee as is. First before you open daily position on market you have to read some news and prediction here are some great source you may take a look before: 1. https://webservices.realtimeforex.com/webservice/daily-market-comment This site provide… Read More »My Simple Strategy to Win Forex Daily

8 Step to Remove W32/Sality.AE

Sality is an computer virus which will infected any files with extension .exe .com and .scr , sality will using your default share folder to spreading in your network area beside that sality using old autorun.inf technique also to spreading. Your application will become a little bigger in size around 60kb-80kb after sality infected it. No need to hide this virus was created in China /Taiwan it have some website list to update himself with new varian some of them pedmeo222nb.info, pzrk.ru, technican.w.interia.pl, www.kjwre9fqwieluoi.info and many more. Blocking this site list using hosts file might help you in short condition… Read More »8 Step to Remove W32/Sality.AE

Created custom preloader for your flash gaming website

I know many webmaster looking the way how to do this 😀 Last week ago I try to searching about how to make custom preloader just like games.co.id used javascript. Many of result are false and didn’t give solution, sometimes it’s not working in IE or Firefox or even not working in both *lol* until I found one at least working almost same and I decided to share the code. When we’re using custom preloader it might can take mostly visitor attention because they eyes focused on that area. We can fill preloader with anything we want, ex: ads, info,… Read More »Created custom preloader for your flash gaming website

Forex:Learn to set Stop Loss and Target Point

Hello everyone, This time I will writing how to set Stop Loss and Target Point. It’s simple and classic when there is words “Something going higher can be dropped lower and something doing down lower can going higher” Forex is all about Wave and Trend. Your JOB in here is to predicted the movement. I don’t recommended you to set SL and TP cause it much risky, but if you hate to waiting and looking on chart *lol* set your SL and TP might be the best condition for yourself. Look on this sample images I give explanation: See this… Read More »Forex:Learn to set Stop Loss and Target Point

Forex:Learn time to trade

Good day everyone 🙂 This time I will give tips & trick on time for trading to gain profit daily on Forex. Almost many newbie traders open position every time they think they would made a little profit but in result they’re loss to many. That would be confusing when you loss many and profit only a little? The tips are in here.. Forex market are available online 24 hours from Monday to Friday. In this time frame you can trade morning, day, or even night. The question is when the best time to trading on pair you want to… Read More »Forex:Learn time to trade

My Story With YLLIX

Good Night, This is my short story with YLLIX. It’s started around 2 months ago when I’m looking for alternative ad network. At first time my friend introduced me to YLLIX I’m not really interested with them … I start to sign up and try their performance. The first month results is suck because I just wanna try them. I try to make something crazy by redirect all my mobile traffic (RAW) into one web source (not using YLLIX as target) but their auto cheat bot found me.. LOL.

In March I’m focus on YLLIX and start to send them real human traffic. The result is great but not really enough yet for Me. YLLIX start to generate revenue and send me payment daily. Yup I’m serious I got daily payment as you can see in Screenshot.

ist-paypal-history-1

ist-paypal-history-2

YLLIX perform better than others ad-network competitors and they do it precisely!
Read More »My Story With YLLIX