Pengalaman Pertama Membeli Secara Online di 11 Street

Ini kisah bagaimana aku buat pertama kalinya membeli-belah di 11 Street. Macam pernah dengar pasal 11 Street ni kan? Ala, yang keluar iklan dalam TV tu. Hehehe.

Macam mana boleh terfikir nak beli barang di 11 Street?

Dalam sehari dua ni aku teringin nak beli kamera aksi (action camera) macam GoPro tu. Tapi aku nak cari yang murah-murah je la. Aku mana ada duit sangat walaupun dah berjaya kumpul beratus USD daripada fiverr, bukan taraf aku untuk pakai GoPro ni.

GoPro Hero 4 pun kurang-kurang dalam RM2000. Jadi mengenangkan aku pun bukan orang yang banyak duit, kena la cari kamera aksi versi bajet yang murah contohnya seperti SJ4000/SJ5000, RD990 atau Xiaomi Yi. Continue reading “Pengalaman Pertama Membeli Secara Online di 11 Street”

Browser’s Back Button Issue After Logout in Laravel 5

laravel 8

If you noticed, we still can access to previous page although we have properly logged out in Laravel 5. How to prevent browser’s back button login after we logged out in Laravel 5?

Is this really a security issue?

When the user clicks the back button they’re not actually logged it, its just the browser rendering what it has cached from previous page views. The user won’t be able to navigate or interact with anything that requires them to be logged in because to your application on the server they’re not authenticated. When the user clicks the back button you have no control over that as it doesn’t make a request to the server.

Using the back button the only content they’ll be able to view is that what they have already visited whilst logged in. If they try to access anything new they’ll make a new request to your application, your middleware will trigger and redirect them to the login page.

– Quoted from Stackoverflow.

So it is not really an issue. But there are few ways to fix this.

Continue reading “Browser’s Back Button Issue After Logout in Laravel 5”

An error occured while updating Dota 2

Have you encountered an error like “An error occured while updating Dota 2 (disk read error)“? I have not been playing Dota 2 for quite sometime and today, when I try to play Dota 2, I got this error message.

My Dota 2 was downloading the update files but the installation keep failing.

How to Fix disc read error in Dota 2

After some “Google-ing” and “youtube-ing”, the quick fix as follow: Continue reading “An error occured while updating Dota 2”

My CodeIgniter 3 Blog Script is Here!

CodeIgniter Logo

Finally, after months of planning and coding, I managed to complete the blog script using CodeIgniter 3. This is an enhancement from my previous CodeIgniter 2 blog tutorial.

If you are looking for tutorial on how to create a blog using CodeIgniter, please visit the links as follows:

  1. CodeIgniter Blog Tutorial – Part 1
  2. CodeIgniter Blog Tutorial – Part 2
  3. CodeIgniter Blog Tutorial – Part 3

What’s new in CodeIgniter 3?

  • Released as MIT license
  • Drop support for PHP 5.1.6, PHP 5.2.4 is the new minimum requirement
  • Tonnes of update including helpers, database, core library and etc.

You may check here for the full change log. Please proceed to here for demo site. Continue reading “My CodeIgniter 3 Blog Script is Here!”