Mobile Redirect in PHP

Most of Mobile Affiliate marketing campaigns lose steam due to traffic dieout, or rather fake mobile traffic which is actually a desktop traffic.

But if properly handled well it can be avoided to make sure only mobile traffic is let through to the landing page.

Also it helps to avoid those prying eyes that try to grab your landing page.

Here is a sample php code that allows one to redirect all mobile traffic to a specific landing page.

 

<?php
$iphone = strpos($_SERVER[HTTP_USER_AGENT],iPhone);
$android = strpos($_SERVER

Dirty Secret of Affiliate Networks.

“Hey, are you searching for a good performing offer, then pick ‘Cleaner Master Android CPI’, it has an an EPC of 3%””
“Starting from today the CPI rate of Dragons RPG will be raised to $1.8, don’t miss this offer, run your campaigns.”
“The Burst campaign of the month is live now, dont miss it, start pushing your traffic today”

Are these the types of messages you are getting from your Affiliate Managers?, sure nobody can deny that, and nowadays every Tom Duck and Harry starting a affiliate network, and every roadside romeo’s who made their first $100 bucks announcing …

Enable remote access to MySQL on VPS

Recently a friend of mine wanted to setup mysql on his VPS and having read on some blogs was successful in setting up the database on his VPS, but when it came to setting  up his local connection he faced the ire of the error popups.

Its not rocket science to setup mysql server and make the connection accessible over remote machines, e.g our local laptops or desktops.

I just taught him how to do it and here you go.

I did it for him on his Ubuntu 14.04 VPS and  herw what I did.

Edit  /etc/mysql/my.cnf

Change the line

Income Update of My Book Published

I published the book ‘ Cocos2d-JS Mobile Game Development on Steroids: Learn How to Develop a Multiplatform Game in 2 days’  way back in 2014-October and its already been more than a year now. It was my first experiment with writing a technical asset and was really a wonderful experience.

I happened to come across a chinese site called makeapp.co and learnt to use a wonderful tool translating from chinese. It was really fun to use it in the first and then it struck to my mind why not publish a book and make hundreds of others to know how …

Want to Develop Your Own Mobile Game?

Developing a mobile game is not a rocket science if you have a basic understanding of atleast one programming language like C++, Java or C# or even basic.

In My opinion all programming languages are very simple to learn given the proper syntax is followed.Every language has different syntax to follow but same functionality in the result. Same if-else conditions, same while loops, same for loops blah blah blah.

Now coming to mobile game development, one must not be worried in the beginning about graphics,type of game to develop or even marketing the game. Its pure learning purpose right??.

Any …

ReIgniting the Light of Mobile Guild

As and when the time changes, and we learn new things , we always try to improve the methods in which we earn, and try to put more time on those strategies and on those methods and on those channels to multiply the earning capacity.

With the time, I too have been running multiple ideas, few implemented and few lapsed in dark. Although I first started with affiliate marketing, I failed in multiple streams.

I First started with stock market trading, futures and options was my favourite, but the interests faded once I made enough losses, and moved to forex …