Categories
Indonesian Personal

Xrvel adalah Nama Virus Komputer

Setelah iseng-iseng googling dengan keyword “xrvel”, saya menemukan bahwa ternyata “xrvel” juga merupakan nama virus 😀
Virus-virus (sebenarnya trojan dan worm) itu adalah

Dpworm.xrvel
Troj.xrvel.cl
Troj.xrvel.sr

Sumber :

http://aprilia78.wen9.com/main/virus.html
NEW UPDATE ANSAV32 db 6.12.21
Categories
PHP

Panduan PHP dari Newbie – 1

Biasakan menulis kode PHP anda dalam kondisi :

  1. register globals : OFF. Kebanyakan web hosting mematikan setting register globals.
  2. short open tag : OFF. Idem.

Gunakan require, daripada include.
Gunakan require_once (/ include_once) hanya bila diperlukan.

Untuk konstanta (/ sesuatu yang bersifat global), gunakan perintah define daripada variabel biasa.

Percayalah, dengan mematuhi syarat di atas, koding akan terasa menyenangkan 😉

Categories
Web Server Website

With or Without WWW

Folks, some of you have might have a website. For example you develop http://www.google.com (OF COURSE this is just an example :)). You might have a question, whether use http://google.com (w/o “www”), or http://www.google.com (w/ “www”). I don’t suggest that “www” is better, vice versa. But i’ll tell it about how to use with only, or without only.

The key is, you must create a .htaccess file in your root directory (or modify the old one if you’ve had it)

If you choose with www, use it in your .htaccess file


  RewriteEngine on

  RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
  RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]