di dunia maya dapat dihubungi melalui akun : @dosakemalasan

Thursday, August 9, 2018

Codeigniter Minimum Server Requirements

Server Requirements
PHP version 5.6 or newer is recommended.

It should work on 5.3.7 as well, but we strongly advise you NOT to run such old versions of PHP, because of potential security and performance issues, as well as missing features.

A database is required for most web application programming. Currently supported databases are:

MySQL (5.1+) via the mysql (deprecated), mysqli and pdo drivers
Oracle via the oci8 and pdo drivers
PostgreSQL via the postgre and pdo drivers
MS SQL via the mssql, sqlsrv (version 2005 and above only) and pdo drivers
SQLite via the sqlite (version 2), sqlite3 (version 3) and pdo drivers
CUBRID via the cubrid and pdo drivers
Interbase/Firebird via the ibase and pdo drivers
ODBC via the odbc and pdo drivers (you should know that ODBC is actually an abstraction layer)


Wednesday, May 23, 2018

[ASK] Cara mencari sumber relay spam

article sebelumnya : 

Status blacklist UCEPROTECTL1 xxx.xxxx.xxx.xxx  itu artinya IP tersebut pernah terdeksi mengirimkan spam ke spamtrap uceprotect.

Status spam terdeteksi pada tanggal 21 Mei 2018 pukul 12:13 WIB dan akan otomatis remove dari blacklist jika sudah tidak ada spam terdeteksi selama 7 hari dari tanggal deteksi akhirnya.

solusinya adalah dengan  mengecek sumber/indikasi adanya user email atau client user di sisi internal yang kemungkinan menjadi sumber relay spam akibat membuka email yang mengandung link atau attachment yang mengandung script spam.


Please Comment  ya kalau ada yang mengetaahui caranya 

Use ntfsfix in the terminal, even if you can't access Windows Drive in Ubuntu Linux

Use ntfsfix in the terminal, even if you can't access Windows Drive in Ubuntu Linux

ex Alert Error : Error Mounting /dev/sda2 

sudo ntfsfix /dev/sdXY

Note : XY is the partition  (/dev/sda2) or (/dev/sdb1)

Example :
sudo ntfsfix /dev/sda1
sudo ntfsfix /dev/sda2

See if your IP server is blacklisted

Wednesday, May 16, 2018


Every month you will find a number of premium WordPress themes available to download for free. 
Click Here..


Free Files of the Month

Cek Here


Tuesday, May 15, 2018

Install Text Editor ATOM di OS Windows



Package (atom-beautify, file-icons, highlight-selected, platformio-ide-terminal)

Packages ~ Setting View ~ Install Packages/Theme

Monday, April 30, 2018

Tutorial HTML : Membuat Link External ke domain website lain


adalah elemen html yang berfungsi menghubungkan suatu halaman web ke halaman web yang lain.

Link dibagi menjadi dua:

Internal Link: adalah link yang menuju ke domain web itu sendiri;
External Link: adalah link yang menuju domain lain.

<a href="home.html">Home </a>

<a href="https://www.dosakemalasan.com/" target="_blank" >

Friday, April 20, 2018

Koneksi Database MySQL dengan PHP 7


Saya ada pertanyaan bagaimana agar script php yang saya yang saat ini berjalan diwebserver dengan versi php 5.6 agar tetap bisa berjalan di webserver yang menggunakan php versi 7.0 ?

*kode koneksi ke DB yang selama ini saya pakai sbb :


$dbname = "namadb";
$user = "root";
$pass = "";
$host = "localhost";

$con = mysql_connect($host, $user, $pass) or die(mysql_error());
mysql_select_db($dbname)  or die(mysql_error());




sebagai catatan untuk php versi 7.0 beberapa perintah yang biasa kita pakai di php versi 5 sampai 5.6 sudah tidak bisa digunakan diversi 7.0

*seperti :




Solusinya kita bisa memakai MySQLi atau PDO. Pada saat ini, PHP mendukung dua metode untuk mengkoneksikan PHP dan MySQL, dengan menggunakan MySQLi (improvement) atau PDO (PHP Data Object).

Pemrograman Prosedural

Mendukung pemrograman secara prosedural
Jika terbiasa menggunakan fungsi mysql_xxx, maka koneksi jenis ini cocok sekali. Kita tinggal menambahkan i setelah mysql, misal: mysql_connect() menjadi mysqli_connect().

Pemrograman Berorientasi Obyek (OOP)

Mensupport Pemrograman berorientasi obyek.
MySQLi hanya mendukung database MySQL, jadi jika kita ingin bekerja dengan database lain atau berencana menggunaakan database lain, kita harus mengubah menjadi PDO
Tidak mendukung parameter bernama
Mendukung perintah persiapan(mencegah SQL Injection)
Sedikit lebih cepat dari PHP PDO

Pemrograman Prosedural

Tidak mendukung Pemrograman secara prosedural
Jika terbiasa dengan fungsi mysql_xxx, sebaiknya belajar lagi mulai dari awal untuk menggunakan PDO
Pemrograman Berorientasi Obyek (OOP)

Mensupport Pemrograman berorientasi obyek.
PHP PDO mendukung sampai 12 database. Daftar database yang didukung oleh PDO bisa dilihat disini
Mendukung parameter bernama, membuatnya lebih mudah untuk membungkus sebuah nilai untuk sebuah query
Mendukung perintah persiapan(mencegah SQL Injection)
Sedikit lebih lambat dari MySQLi

Contoh dengan MySQLi dan pemrograman secara prosedural


Wednesday, April 18, 2018

Optimize images for SEO

Optimize images for SEO

<img src=“image.jpg” alt=“image description” title=“image tooltip”>

Free SEO Tools


Free SEO Tools

1. Google PageSpeed Insights
Check the speed and usability of your site on multiple devices

Enter a URL, and this tool will test the loading time and performance for desktop and for mobile, plus identify opportunities to improve (and pat you on the back for what you’re doing well). The mobile results also come with a user experience score, grading areas like tap targets and font sizes.

2. Moz Local Listing Score
See how your local business looks online

Moz crunches data from more than 15 different sources—including Google, Foursquare, and Facebook—to score your brick-and-mortar business on how it looks online. Results come complete with actionable fixes for inconsistent or incomplete listings.

3. Keywordtool.io
700+ keyword ideas based on a single keyword

Enter a keyword, and the Keyword Tool provides a huge handful of long-tail keyword opportunities, organized alphabetically.

4. Google Analytics
Complete web stats and search insights

In addition to tracking pretty much every bit of traffic you could imagine on your website, Analytics also surfaces many keyword insights as to which terms people use to land on your pages.

5. Google Webmaster Tools + Bing Webmaster Tools
Constant website analysis, alerts, and error reports

These webmaster tools help give you a taste of what the two top search engines think of your site. It’s helpful to see any bugs, alerts, and indexing issues.

Pro tip: Each of these two tools requires a bit of installation on your site. If you’ve got a WordPress website, you can add the webmaster code automatically through a plugin like Jetpack or Yoast.

6. Open Site Explorer
Comprehensive link analysis

The free version of Open Site Explorer gives you a quick look a full range of link analysis, including a look at the most impactful links coming your way and your most linked-to pages.

7. Google Keyword Planner
Know what people search for

Enter a keyword or group of keywords into the tool, and Google will return all sorts of helpful stats to guide your keyword strategy: monthly search volume, competition, and even suggested terms you might not have considered.

8. Google.com in an Incognito Window
Discover auto-fill opportunities

Searching Google.com in an incognito window will bring up that all-familiar list of autofill options, many of which can help guide your keyword research. The incognito ensures that any customized search data Google stores when you’re signed in gets left out. Incognito may also be helpful to see where you truly rank on a results page for a certain term.

9. Google Trends
Changes in search volume for key terms

A quick browse or search through Google Trends can show you the hockey-stick rise of potential terms and SEO opportunities for your content.

10. QuickSprout Website Analyzer
Full analysis of your website

The QuickSprout tool does a comprehensive look at just about everything: SEO optimization, speed, tags, keywords, social, links, and even competitor comparisons.

11. Schema Creator
Uber-customize the way your search results appear

Create custom code so that your reviews, events, organizations, and people are displayed the way you want on search pages. Once you’ve created your schema code, copy and paste to your website, or try the free WordPress plugin for an even easier implementation.

12. SimilarWeb
View site stats for any domain

Use this tool to compare traffic between two websites, a helpful tool for competitor research.

13. SERPs Rank Checker
See where your site ranks for certain terms

You can run Rank Checker one of two ways: Input your keyword and your website and see where you land, or leave the website field blank to view the top-to-bottom list of results for a keyword.

14. XML Sitemaps
Build a sitemap

Simply enter your site’s URL and some optional parameters, and XML Sitemaps will create a sitemap that you can upload to Google Webmaster Tools.

15. Browseo
See your website the way a search engine sees it

Enter your site, and this tool will strip out everything but the guts, revealing your website the way search spiders see it. This particular view can be helpful to see the hierarchy you’ve given particular elements (maybe without realizing it!).

16. SEO Site Checkup
Audit and score for your website

Site Checkup runs through a fast audit of your site, checking for proper tags and surfacing any errors that might come up.

17. Searchmetrics Website Analyzer
Performance dashboard for search and social rankings

The free version of the Searchmetrics report shows you a taste of how your website ranks in search and social, along with a preview of top terms.

18. Find Broken Links
Discover errors on your site

The link report from Ninja Internet Marketers combs through your whole site and highlights a number of link insights, including the internal and external links that need fixing.

19. Ahrefs’ Site Explorer and Backlink Checker
Complete overview of your website, pages, and links

A free (and substantial) sampling of what ahrefs offers, the dashboards for referring pages and inbound links are rich and informative.

20. Copyscape
Check for duplicate content

Enter a URL for a blogpost or website, and Copyscape can tell you where else that content exists online. You might find results that you’ll need to follow-up with to help get your SEO in order.

21. Moz toolbar
I’ve shied away from referencing any toolbars thus far, but the Moz toolbar is just too good to pass up. Once installed, the Moz toolbar can show you SEO insights from within Google search results pages and at any particular website.

22. Robots.txt Generator
Robots.txt files let the web robots know what to do with a website’s pages. When a page is disallowed in robots.txt, that’s instructions telling the robots to completely skip over those web pages. There are some exceptions in which case a robots.txt might be ignored, most notably malware robots that are looking for security issues.

23. Structured Data Testing Tool
Structured data helps to provide context to the information on your page. This tool from Google uses live data to validate the structured data for any web page, or you can copy/paste code to test it.

24. Microsoft Free SEO Toolkit
The Microsoft SEO Toolkit combines quite a few different tools into one. Used together, it can analyze your site and provide recommendations on how to make your site’s content more SEO-friendly, including tweaks to your sitemap and robots.txt. Sorry to all of the Apple folks, this one seems to be Windows-only!