From my experience with Adsense I got disapproved after a visit from a URL to my blog. The URL was SPAM which is known as REFERRAL SPAM. See more about REFERRAL SPAM here. Why Adsense account got disapproved of Referral SPAM ? In the Google Adsense policies, It says that you should not pay someone to visit your blog/site. When you are placing the ad on your blog, Google tracks each visit to your blog. When they see a suspicious URL in the traffic sources they count it as a paid to click URL.... [READ MORE]
Posts marked with "Posts" in posts
Add GET or POST parameters on include files in PHP
If you want to add GET parameters or POST parameters to files loading using include function in PHP then you should know the following: It’s not possible. But it is in a different way. If you are adding GET parameters to file name like the following, then it won’t work: The above code won’t load the file, because PHP Include function only looks for files, it won’t send any parameters.... [READ MORE]
How to access a remote computer using SSH in Ubuntu Linux
SSH is the easiest way to access a remote computer not in graphical interface but in character interface. To access a remote computer you should need the computer’s ip address & a username of the computer. Now connect using the credentials you now have. For Example: ssh [email protected] Type the password of the user and hit enter. You now entered the user’s system. You can logout, shut down the computer if you ssh root user.... [READ MORE]
Revert back to normal resolution after running a fullscreen app in Wine
While running a fullscreen app in Wine such as games, you might not get the screen resolution back after you close the app. It’s because Linux won’t automatically change it’s resolution like Windows. But you could if you run a simple file in terminal. Here is how you could do it. Create a file named normal.sh in your Desktop with the following contents: #!/bin/bash xrandr -s 0 Save it on a place where you can open it easily.... [READ MORE]
How to make a file executable in Ubuntu Linux
Executable files are files that can be used to run a program or to do a specific purpose specified in the file. Normally not all files defaultly would be executable in Linux because of security reasons. If all files are defaultly executable then the scripts can do whatever the hell they want to do in your computer. As we call them VIRUSES. This is one of the main reasons why you should use Linux.... [READ MORE]
How To Log Out Using Terminal in Ubuntu Linux
There is no specific command to logout in an Ubuntu system. Why ? Here’s how it works. The desktop you’re seeing is a separate software. They are called Desktop Environments (DE). The default DE of Ubuntu is Unity from Ubuntu’s 11.04 versions. Before it was GNOME. There are many DEs for Ubuntu. Some of them are : Openbox XFCE LXDE and many more.. There are also separate Login Managers to provide the login screen while Ubuntu is loaded.... [READ MORE]
Disabling sidebar from fading out in Blogger Dynamic Views Template
The black sidebar on the right side of the blog is hidden and is only visible when mouse is over it. This is a problem because most of the users who are visiting your blog won’t even see the sidebar. The following list shows the advantages of having a sidebar not fading out : Google + Followers Increases More people will subscribe to your blog People will know the popularity of your blog when they see the blog stats and others…….... [READ MORE]
How to execute a PHP PDO prepared statement
PDO – a method used to execute SQL statements risk free. Fast, secure and easy when compared to mysqli and mysql functions in PHP. A lot of newbies including me heard about PDO mostly in the 2010 – 2013 years when a lot of sites got hacked of Mysql Injection. PDO is the easiest and safest way to execute an SQL code, complete risk free. In this post I’m gonna tell you how to execute a prepared statement in PDO and the common mistakes made by programmers which results an error while executing SQL code.... [READ MORE]
How to redirect users to a page in PHP
If you want to redirect users to a specific page or url like when user is not logged in or something in PHP then you can accomplish this with header function or by Javascript printed by echo function. The following example will redirect user to http://subins.hp.af.cm Or you can use the normal Javascript : What’s the difference ? header function is called in server itself not when the page reaches the browser.... [READ MORE]
How To Integrate Disqus Into Blogger Dynamic Views
Disqus works in normal Blogger template but won’t work in Dynamic Views because it don’t support HTML/Javascript widget. But you can edit the contents in head tag of Template and I found a way to integrate the Disqus commenting system in to Blogger. I’m gonna show you how to do that. DEMO Works On Sidebar Classic Flipcard Magazine Mosaic Snapshot Timeslide Disadvantages On Classic Templates Disqus will only be available for the first post, because they won’t allow you to put more than 1 Disqus Comment box on a page... [READ MORE]