Would you like to be notified for every new articles? Please click HERE to subscribe for newsletter.

Blog

Protecting IIS 6 Behind Nginx

  • Posted on: 4 November 2017
  • By: admin

In March 2017, a fatal security hole in IIS 6 was found. Based on the news from https://www.theregister.co.uk/2017/03/31/microsoft_wont_patch_server_2003/, Microsoft has officially announced that they won't patch the security hole and recommended us to upgrate to new Windows Server immediately which has the new IIS version. But the problem is, not all people can upgrade their machines in instance.

Modify Entity Reference Autocomplete Result In Drupal 8

  • Posted on: 2 July 2017
  • By: admin

In some cases we might need to modify the autocomplete result in Drupal 8. For example, when editing a node, in content authoring section, there is an autocomplete textfield for entering the author for the content. By default, all users will be available in the autocomplete list, but there might be a case when we need to exclude the blocked user from the list. Fortunately, we are able to do that by using one hook function called hook_query_alter.

Tags: 

Installing Salix Package In Slackware Using slapt-get

  • Posted on: 29 January 2017
  • By: admin

Salix is a Linux distribution derived from Slackware. In its official website, it is said that "...Salix is also fully backwards compatible with Slackware, so Slackware users can benefit from Salix repositories, which they can use as an "extra" quality source of software for their favorite distribution...". Because of that statement, I'm interested to install some Salix packages into my Slackware 14.1 64 bit system.

Add Link To Node In Simplenews Newsletter

  • Posted on: 12 December 2016
  • By: admin

When we want to add newsletter feature to our Drupal website, we might end up finding the simplenews module as the solution. But, there is one problem that so many people asked about in the internet. By default, simplenews will send the whole node content in the body of the newsletter e-mail, not the teaser. Ideally, the newsletter e-mail will contain the teaser or trimmed version of the full content with the link to read it online to our website.

Tags: 

How Does PHP Session Work

  • Posted on: 5 December 2016
  • By: admin

The Hyper Text Transfer Protocol is a stateless protocol. That means server just forget about you when your request is served and the connection between server and client is immediately closed after that. For example, when you made a request for page a.html, the server send you the a.html. After that, you made second request for b.html. In that time, the server won't recognize that you are the one who previously request a.html.

Tags: 

Pages