Archive for the ‘Application Development’ Category
Cloud Bantu Pengguna Maksimalkan Antivirus
JAKARTA, KOMPAS.com – Tren perkembangan virus di dunia selalu meningkat. Hingga saat ini, 2000 aplikasi terdeteksi memiliki kelemahan dan bisa ditembus malware (malicious software). Lebih dari 3500 malware ditemukan setiap hari dan virus yang sudah dihasilkan di dunia hingga saat ini berjumlah lebih dari 1 juta jenis virus. Maka, dibutuhkan metode yang inovatif untuk mendeteksi ancaman-ancaman yang beragam tersebut. Read the rest of this entry »
Kaspersky 'Bentengi' Pengguna BlackBerry dan Android
shanti dwi jayanti – detikinet
Baru-baru ini perusahaan Lookout membeberkan laporan yang menyebutkan bahwa serangan yang menyasar Android jumlahnya naik tajam dalam 6 bulan terakhir ini.
Banyaknya malware yang menyerang Android sepertinya berkaitan dengan platform terbuka yang dimiliki Android sehingga pelaku malware lebih mudah menyusup melalui program yang dibuat untuk sistem operasi besutan Google tersebut. Read the rest of this entry »
Hati-hati pilih dokter dan tetes obat sakit mata pada anak
hmm mau sharing sedikit tentang masalah sakit mata pada anak kecil. Anak saya Christiano(Tiano) Read the rest of this entry »
TanyaSaja.Com menghentikan layanannya
Hari ini mendapatkan email dari salah satu portal milik detik.com yakni www.tanyasaja.com, Read the rest of this entry »
Redirect URL for Apple iPad, ipod, iphone, Android, Opera Mini, Blackberry, Palm, Windows Smartphone !
Sometimes we want to improve our websites so it can be accessed on any platform of devices like iPad, Blackberry, ipod, etc. Then we develop the main website that can be accessed on any desktop,notebook/netbook. Then we also create the Mobile website versions so it can be accessed on iphone, blackberry or windows smartphone.
thanks for http://detectmobilebrowsers.mobi/ that provides some functions to redirect websites on any devices you have.
they provide one simple script in .php to redirect your websites to the URL that you can specify yourself.
you just need to include the files and then running the functions like this :
<?
$redirect = “http://www.metrotvnews.com/mobile-site/”;
require_once(‘mobile_device_detect.php’);
mobile_device_detect(true,true,true,true,true,true,true,$redirect,true);?>
or
<?
require_once('mobile_device_detect.php');
mobile_device_detect(true,false,true,true,true,true,true,'http://www.metrotvnews.com/mobile-site',false);?>
that 2 scripts above will checking if HTTP_USER_AGENT (get the user agent value) are coming from blackberry devices then it will be redirect to the mobile site at http://www.metrotvnews.com/mobile-site/
notes : mobile_device_detect(true,true,true,true,true,true,true,true,true);
The function has 9 parameters that can be passed to it which define the way it handles different scenarios. These paramaters are:
- iPhone – Set to true to treat iPhones as mobiles, false to treat them like full browsers or set a URL (including http://) to redirect iPhones and iPods to.
- iPad – Set to true to treat iPads as mobiles, false to treat them like full browsers or set a URL (including http://) to redirect iPads to.
- Android – Set to true to treat Android handsets as mobiles, false to treat them like full browsers or set a URL (including http://) to redirect Android and Google mobile users to.
- Opera Mini – Set to true to treat Opera Mini like a mobile, false to treat it like full browser or set a URL (including http://) to redirect Opera Mini users to.
- Blackberry – Set to true to treat Blackberry like a mobile, false to treat it like full browser or set a URL (including http://) to redirect Blackberry users to.
- Palm – Set to true to treat Palm OS like a mobile, false to treat it like full browser or set a URL (including http://) to redirect Palm OS users to.
- Windows – Set to true to treat Windows Mobiles like a mobile, false to treat it like full browser or set a URL (including http://) to redirect Windows Mobile users to.
- Mobile Redirect URL – This should be full web address (including http://) of the site (or page) you want to send mobile visitors to. Leaving this blank will make the script return true when it detects a mobile.
- Desktop Redirect URL – This should be full web address (including http://) of the site (or page) you want to send non-mobile visitors to. Leaving this blank will make the script return false when it fails to detect a mobile.
You can also generate the functions from their websites and tuning the scripts according to your needs.
thanks
~Rio Yotto Uniwaly
Hacks to Make Firefox Faster than Google Chrome
Hacks to Make Firefox Faster than Google Chrome: Google Chrome has now eclipsed Mozilla Firefox in the speed category.URL REWRITE CODE IGNITER
URL Rewrite menyediakan URL pendek dan URL yang sedap dilihat mata di halaman web Anda.
Ini meningkatkan minat baca pengunjung dan juga search ranking untuk URL Anda, sebagai contoh, URL “a” bisa di rewrite atau ditulis “b”
contoh:
a. http://www.metrotvnews.com/index.php/streaming
b. http://www.metrotvnews.com/streaming/
ada banyak sekali artikel di internet yang berdiskusi tentang keuntungan menggunakan URL pendek.
kali ini masih seputar Code Igniter (CI), CI menggunakan pendekatan berbasis/berdasarkan segment (segment-based),
CI melakukan include “index.php” nama file pada URL nya.
sebagai contoh :
http://www.metrotvnews.com/index.php/streaming/
pada manual CI, disebutkan disana, mudah sekali menghilangkan index.php tersebut sehingga URL tersebut dapat menjadi :
http://www.metrotvnews.com/streaming/
yakni dengan menggunakan .htaccess file berikut ini :
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
apakah menyelesaikan masalah ??
tidak juga, ini tidak berjalan di localhost saya, dan terkadang di online pun tidak.
Solusi untuk Web Localhost:
—————————-
RewriteEngine On
RewriteBase /cobacoding/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /cobacoding/index.php/$1 [L]
sesuaikan folder cobacoding tersebut dengan folder dimana CI Anda terinstall.
perintah diatas artinya seperti berikut : file tersebut melakukan rewrite (penulisan ulang) terhadap URL aslinya ke URL baru.
setiap file dan setiap direktori yang memiliki folder dan nama file /cobacoding/index.php akan di rewrite atau dihilangkan..
-f = file
-d = direktori
Solusi untuk web Online:
————————-
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [L]
hmmm .. demikian Rewrite pada Code Igniter, berikut daftar bacaan yg berkaitan:
CodeIgniter URLs
http://codeigniter.com/user_guide/general/urls.html
URL Rewriting for Beginners
http://www.addedbytes.com/apache/url-rewriting-for-beginners/
An easy way to test your RewriteRules against different URLs
http://civilolydnad.se/projects/rewriterule/
CodeIgniter URLs
http://codeigniter.com/forums/viewthread/55620/
– Rio Yotto
rio[at]metrotvnews[dot]com
(Fixed) WordPress: Lost Categories and Error Table
almost 4 weeks i’m not checking my websites using wordpress, the posting are losts and also the categories. asking to uncle google but they said to check the wp_term_taxonomi tables, but after going to phpmyadmin to check the files, i’ve found that this table was error. i can’t open it at all. the error messages is
Can’t create/write to file /tmp/ (Errcode: 28)
so this is what i’m doing to fixed all of this things :
1. Create another directory example /var/lib/mysql
2. Open your my.cnf using vi editor
3. Add or Edit :
[mysqld]
tmpdir = /var/lib/mysql
4. Restart your Mysql Server
this my my.cnf :
[mysqld]
skip-bdb
skip-innodb
tmpdir=/var/lib/mysql
it’s work now …
~rio
SIMPLE PAGING WITH CODEIGNITER FRAME WORK (English Version)
SIMPLE PAGING WITH CODEIGNITER FRAME WORK
Demo for this paging you can see it here : http://rio.uniwaly.com/programming/coba/
notes :
1. Framework used : Code Igniter (MVC)
2. I’m using MVC with View and Controller only. i’m not using Model.
4. This is my config files : config.php — $config['base_url'] = “http://localhost/programming/coba/”; Read the rest of this entry »
7 LANGKAH MUDAH MEMBUAT BLOG GRATIS
Silahkan download 7 langkah mudah membuat blogs gratis di http://inilahkita.com/klik disini (.pdf)
sangat mudah …. disertai dengan gambar-gambar …. simple … mudah … dan bisa langsung di praktekan …
tunggu apa lagi ?? miliki blogs Anda dengan namaanda.inilahkita.com Gratis .. tis .. tis ….
gak sampai 10 menit untuk memiliki blogs gratis ini … ayo daftar sekarang juga …….




