James John – Software Engineer

How to Prevent Hotlink in Cpanel

How to Prevent Hotlink in Cpanel

Hey, Am going to show you how to protect your site and files from hot linking using a tool in your CPanel. Login to your CPanel and search for Hotlink Protection, example of an icon below and click on it Your next page will be something like this URLs allowed to access: These are list […]

Generate Dynamic XML Sitemap Using PHP/MySQL

Hello, you know its gonna be cool if you have your own sitemap been generated automatically from database, this is also for those who update items to db. How i wrote this code is that, assuming you have an item in the db which details are shown in a page, just generate the links and […]

How to Restore Deleted File and Directory Using R1 Software in Cpanel

How to Restore Deleted File and Directory Using R1 Software in Cpanel

Hello, I got to learnt this when I mistakenly deleted one of my important files in my Cpanel. I was like “Am dead!” but I saw help when I visited the Cpanel forum of which am going to share. Login to your Cpanel, inside the Files tab look for the R1Soft Restore Backups then click […]

How to Create Simple Facebook App for Login with Facebook

How to Create Simple Facebook App for Login with Facebook

Hi all, Today for me is posting how to create simple Facebook app for site login. Without wasting much time typing, let me show it out! Login to https://developers.facebook.com/apps, at the right top of your page click on the Create New App link There should be a dialog box with forms to fill up details, […]

How to Create Google Custom Search Engine for your Site

How to Create Google Custom Search Engine for your Site

Hi all Google has made some things easy for us, now you can search contents of your site with Google Custom Search Engine, no need for searching database again! Now how to get this is this: Login to https://google.com/cse, at the right top of the site you will see a Create a custom search engine […]

How to Insert/Play Videos in Webpage Using HTML5

How to Insert/Play Videos in Webpage Using HTML5

Hi all, As I usually say, the a time will come when Jquery will fade off and HTML and CSS keep upgrading. I thought this playing of a video will be a pack of coding before this is done, but to my suprise while I was learning HTML5 I saw it there also! So let […]

How to reactivate blocked Google Adsense Ads display in site within 7 days

How to reactivate blocked Google Adsense Ads display in site within 7 days

Hi all, Adsense is a Google Ad Service which you earn income if you place it in your site and you get clicks and impressions. This ad service as I found out is always at alert to find out violations against their Policy with the help of their spiders. Ad display will be blocked if […]

How to create/manage database,tables and columns in PhpMyAdmin

How to create/manage database,tables and columns in PhpMyAdmin

Hi all, Its really true that some are still having problem in localhost PhpMyAdmin, now let me show you some basic ways to handle, create and modify a database and the tables. Open your browser and type localhost/phpmyadmin or 127.0.0.1/phpmyadmin Click on Database as highlighted in the picture below Next Page is the list of […]

[Python] How to install Django in Windows 7

[Python] How to install Django in Windows 7

Hi all, Python is a Linux based language and its more easy to use in Linux than Windows both the Django we are about to install. Now before installing your Django, make sure you already have Python 2.6.5 or higher installed in your system. Now download Django files here https://www.djangoproject.com/download/ The files are usually in […]

How To Code Rating/Liking System Using PHP/MySQL

Hi all, I have come to know that most growing PHP Developers have difficult to write a liking or rating system, yes both of them goes alike with the same codeline. The below code is for rating system, just change some wordings and it becomes of liking system. Now in this code, you are to […]