Say something ..

Loading

WP Shoutbox
Name
Website
Message
Smile
Arsip

Archive for the ‘Application Development’ Category

Cloud Bantu Pengguna Maksimalkan Antivirus

Tenni Purwanti | Tri Wahono | Minggu, 7 Agustus 2011 | 10:53 WIB

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 »

Share

Kaspersky 'Bentengi' Pengguna BlackBerry dan Android

shanti dwi jayanti – detikinet

 Jakarta – Malware makin menggurita. Serangan yang dilakukan lewat program jahat ini tak hanya menyerang pengguna komputer melainkan juga perangkat genggam, terutama ponsel Android.

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 »

Share

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 »

Share

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 »

Share

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

Share

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.

Read the rest of this entry »

Share

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

Share

(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

Share

SIMPLE PAGING WITH CODEIGNITER FRAME WORK (English Version)

PAGING WITH CODEIGNITER FRAME WORK BY : Rio Uniwaly
——————————————————-
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 used Model.
4. This is my config files configuration : config.php — $config['base_url'] = “http://localhost/programming/coba/”;
5. Controller: Welcome.PHP (One Controller Only)
—-
<?php
/* paging controller sample by Rio Uniwaly
http://www.rio.uniwaly.com
http://www.godblesshosting.com
*/
class Welcome extends Controller {
function Welcome()
{
parent::Controller();
$this->load->database();
}
function index()
{
//load default paging library
$this->load->library(‘pagination’);
//configure this according to your systems!
$config['base_url'] = ‘http://localhost/programming/coba/index.php/welcome/’;
$config['per_page'] = ’3′;
$config['uri_segment'] = 2;
//this query only for getting total rows!
$this->db->select(‘nama, alamat, kota’); /* means select name,alamat,kota from member tables */
$query=$this->db->get(‘member’);
$jumlah=$query->num_rows(); /* i put the total of the rows in jumlah variables */
$config['total_rows'] = $jumlah; // save the rows for config files…
$this->pagination->initialize($config);  // initialize configuration files …
echo $this->pagination->create_links();
$data['num']=$config['per_page']; // this important also … $num means the limit. you should know limit and offset in mysql
//$data['offset']=$config['uri_segment'];
$data['offset']=$this->uri->segment(2);
if (!$data['offset'])
{
$data['offset']=0;
}
$data['num'] = $config['per_page'];
$this->load->view(‘rio’,$data);
}
}
/* End of file welcome.php */
/* Location: ./system/application/controllers/welcome.php */
————————————————————————————————————- end of controller ————–
6. VIEWS : RIO.PHP
—————–
<table border=1>
<tr>
<td>Nama
<td>Alamat
<td>Kota
<?
$this->db->select(‘nama, alamat, kota’);
$query=$this->db->get(‘member’,$num,$offset);
$jumlah = count($query->result());
foreach ($query->result() as $row)
{
echo “<tr><td>”.$row->nama;
echo “<td>”.$row->alamat;
echo “<td>”.$row->kota;
}
?>
</td></tr></table>
<?
echo “Jumlah : $jumlah”; // this is the total rows that will shown up..
?>
<br><br>
<br><br>
————————————————- END OF VIEWS —————————————
—- this is the database i used ..  :  start copy ————————————–
– phpMyAdmin SQL Dump
– version 2.11.4
– http://www.phpmyadmin.net
– Host: localhost
– Generation Time: Sep 30, 2009 at 12:56 AM
– Server version: 5.0.51
– PHP Version: 5.2.5
SET SQL_MODE=”NO_AUTO_VALUE_ON_ZERO”;
– Database: `rio_ci`
– —————————————————————————————————————————-
– Table structure for table `member`
CREATE TABLE IF NOT EXISTS `member` (
`id` int(11) NOT NULL auto_increment,
`nama` varchar(50) NOT NULL,
`alamat` varchar(255) NOT NULL,
`kota` varchar(50) NOT NULL,
`keterangan` text NOT NULL,
PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=11 ;
– Dumping data for table `member`
INSERT INTO `member` (`id`, `nama`, `alamat`, `kota`, `keterangan`) VALUES
(1, ‘Rio Saja’, ‘jl. pilar mas raya kav. a-d’, ‘jakarta’, ‘ini keterangannya saja’),
(2, ‘andy’, ‘jl. diponegoro’, ‘bandung’, ‘ini usernya cumi’),
(3, ‘Elen’, ‘Medan’, ‘Medan’, ‘ini testing untuk elen’),
(4, ‘Tiano’, ‘Semanan’, ‘Cengkareng’, ‘datanya Tiano’),
(5, ‘icul’, ‘blok m’, ‘jaksel’, ‘jaksel data icul’),
(6, ‘lanny’, ‘kayumanis’, ‘jaktim’, ‘data lanny’),
(7, ‘george’, ‘bogor’, ‘bogor’, ‘data george’),
(8, ‘adolf’, ‘bekasi’, ‘bekasi’, ‘data adolf’),
(9, ‘gill’, ‘jatinegara’, ‘jaktim’, ‘data gill’),
(10, ‘steve’, ‘percetakan negara ‘, ‘jaktim’, ‘data steve’);
———————————————————————— end copy database ————————————–

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 »

Share

7 LANGKAH MUDAH MEMBUAT BLOG GRATIS

Ebook_7_Langkah_buat_blogSilahkan 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 …….

Share
Login/Register
  • Prediksi Bola : Persela vs Persija February 14, 2012
    bolaliar.com - Walau terusir dari rumah sendiri, Persela Lamongan mengusung target tiga poin meski harus menjamu Persija Jakarta dalam lanjutan Liga Indonesia (ISL), Rabu (15/2) di stadion Wilis, Madiun. Pasalnya kandang asli Laskar Joko Tingkir, stadion Surajaya masih diperbaiki. Pertandingan nanti merupakan penampilan perdana Persela di Stadion Wilis setel […]
  • Prediksi Bola : Gresik United vs Deltras February 14, 2012
    bolaliar.com - Deltras Sidoarjo ingin balas dendam atas dua kekalahan yang deterimanya saat tur Sumatera. Sasarannya adalah tim asal Jawa Timur yaitu Gresik United (GU). Derby Jatim ini merupakan kesempatan Deltras untuk menggantikan poin yang hilang di Sumatera, pada laga lanjtan Liga Indonesia (ISL) yang di gelar di stadion Petrokimia Gresik, Selasa (14/2) […]
  • Klub Bola : Arema FC February 11, 2012
    bolaliar.com - Arema FC adalah klub sepak bola terkenal yang bermarkas di kota Malang, Jawa Timur, Indonesia. Klub yang dulunya bernama Arema Malang ini didirikan pada tanggal 11 Agustus 1987. Arema mempunyai julukan "Singo Edan". Stadion tempat mereka bermain adalah di Stadion Kanjuruhan dan Stadion Gajayana. Arema adalah tim sekota dari Persema M […]
  • Prediksi Bola : Sriwijaya FC vs Deltras February 10, 2012
    bolaliar.com - Sriwijaya FC menatap optimis laga melawan Deltras Sidoarjo di Stadion Jaka Baring. Pasukan perang Kas Hartadi membawa misi kemenangan yang tentunya bakal mengantar mereka menuju singgasana sementara klasemen Liga Indonesia (ISL). Hal itu disebabkan dua tim asal Papua yang berada di posisi pertama dan kedua di klasemen sementara tidak mampu men […]
  • Klub Bola : Deltras Sidoarjo February 10, 2012
    bolaliar.com - Delta Raya Sidoarjo (biasa disingkat: Deltras) merupakan sebuah klub sepak bola profesional yang bermarkas di kabupaten Sidoarjo, Jawa Timur. Klub yang memiliki julukan sebagai The Lobster ini pada tahun 1989 saat didirikan bernama Gelora Dewata '89 dengan home base Bali. Gelora Dewata didirikan oleh pengusaha HM Mislan. Gelora Dewata pin […]
  • Prediksi Bola : Persija vs Persipura February 9, 2012
    bolaliar.com - Menelan kekalahan dari Persiwa Wamena dengan skor 1-2, jelas bukan modal yang bagus bagi Persija Jakarta. Namun semua itu tak membuat semangat Macan Kemayoran menjadi loyo dan tak bergairah menghadapi laga selanjutnya. Terlebih, lawan yang akan dihadapi kali ini bisa dibilang lebih sangar, yakni juara Liga Indonesia (ISL) musim lalu, Persipura […]
  • Klub Bola : Persela Lamongan February 9, 2012
    bolaliar.com - Persatuan Sepak bola Lamongan atau lebih dikenal dengan sebutan Persela Lamongan adalah sebuah klub yang berkedudukan di Kota Lamongan, Jawa Timur. Tim berjuluk Laskar Joko Tingkir saat ini adalah salah satu kontestan Superliga 2009/10, kompetisi sepak bola paling bergengsi di tanah air.   […]
  • Klub Bola : Persiba Balikpapan February 8, 2012
    bolaliar.com - Persiba Balikpapan merupakan sebuah klub profesional yang bermarkas di Kota Balikpapan, Kalimantan Timur. Tim berjuluk Beruang Madu yang juga sering dijuluki tim Selicin Minyak adalah salah salah satu kontestan Superliga 2008/09, kompetisi paling elit di tanah air. Sama dengan mayoritas klub lainnya di tanah air, Persiba baru menunjukkan eksis […]
  • Klub Bola: Persija Jakarta February 8, 2012
    bolaliar.com - Persija (singkatan dari Persatuan Sepak Bola Indonesia Jakarta) adalah sebuah klub sepak bola Indonesia yang berbasis di Jakarta. Persija saat ini berlaga di Liga Super Indonesia. Persija didirikan pada 28 November 1928, dengan cikal bakal bernama Voetbalbond Indonesish Jakarta (VIJ). VIJ merupakan salah satu klub yang ikut mendirikan Persatua […]
  • Klub Bola: Persipura Jayapura February 8, 2012
    bolaliar.com - Persatuan Sepak bola Indonesia Jayapura (disingkat Persipura Jayapura) adalah sebuah klub sepak bola Indonesia yang bermarkas di Jayapura, Papua. Salah satu prestasi tertingginya dalam kompetisi Liga Indonesia adalah menjuarai Liga Indonesia 2005 setelah di final mengalahkan Persija Jakarta, yang merupakan favorit terkuat juara, dengan skor 3- […]
[POPUP=IMG1]