Computer And Internet

Computer And Internet Category

Securing my CyberCafe Computers

I really hate when people claimed using shared computers always not secure. To stop that words from spreading I do lot of software review and implemented it on my own cybercafe to attract people for use it. 1. I do reinstall all Windows XP home edition from zero (clean install) to make sure my windows on top performance I’m not doing any windows software update, I just updated the driver and security patch. 2. Buy deepfreeze standard edition from faronics company to help me keep my cybercafe computers keep clean from any virus, mallware, spyware or anything each time it… Read More »Securing my CyberCafe Computers

SEO: URL Rewrite for 4images

Well, I just have done optimize SEO for one of my website using 4images gallery system it’s on https://www.innovativedesktop.com basically I play with meta title, keywords, and description. And now I’m using URL rewrite. URL look cool and more search engine friendly I believe after a week or month it will indexed in lot of search engine 😀

Here is the way for you’re to using URL rewrite on 4images to make it more search engine friendly REMEMBER this will eat CPU resources. (before you doing this I recommended to backup your files first). Any alternative you can learn about URL rewrite yourself to make it works as you want (google is the best teacher).

1. You need to make .htaccess file and put this code on it

RewriteEngine On
RewriteRule ^lightbox\.html$ lightbox.php?%{QUERY_STRING}
RewriteRule ^lightbox\.([0-9]+)\.html$ lightbox.php?page=$1&%{QUERY_STRING}
RewriteRule ^search\.html$ search.php?%{QUERY_STRING}
RewriteRule ^search\.([0-9]+)\.html$ search.php?page=$1&%{QUERY_STRING}
RewriteRule ^postcard([a-zA-Z0-9]+)\.html$ postcards.php?postcard_id=$1&%{QUERY_STRING}
RewriteRule ^postcard\.img([0-9]+)\.html$ postcards.php?image_id=$1&%{QUERY_STRING}
RewriteRule ^k_(.*)_([0-9]+).html categories.php?cat_id=$2&%{QUERY_STRING}
RewriteRule ^r_(.*)_([0-9]+).html details.php?image_id=$2&%{QUERY_STRING}
RewriteRule ^r([0-9]+).search.html details.php?image_id=$1&%{QUERY_STRING}

2. Open /include/sessions.php before the last line add this code

//Mod_bmollet
/**
* Get the category url
* @param int $cat_id The id of the category
* @param string $cat_url The current status of the URL
*/
function get_category_url($cat_id,$cat_url = ”)
{
global $site_db;
$sql = “SELECT cat_name,cat_parent_id FROM “.CATEGORIES_TABLE.” WHERE cat_id = ‘”.$cat_id.”‘”;
$result = $site_db->query($sql);
$row = $site_db->fetch_array($result);
$row[‘cat_name’] = strtr($row[‘cat_name’], “ABCDEFGHIJKLMNOPQRSTUVWXYZ”,”eeeaeauoiaabcdefghijklmnopqrstuvwxyz”);
$cat_url = ‘_’.str_replace(‘+’,’_’,urlencode($row[‘cat_name’])).’_’.$cat_id.$cat_url;
// if you want full path of category in url, put next line in comment
return $cat_url;
if( $row[‘cat_parent_id’] != 0)
{
return get_category_url($row[‘cat_parent_id’],$cat_url);
}
else
{
return $cat_url;
}
}
//Mod_bmollet
/**
* Get the image url
* @param int $image_id The id of the image
*/
function get_image_url($image_id)
{
global $site_db;
$sql = “SELECT cat_id,image_name FROM “.IMAGES_TABLE.” WHERE image_id = ‘”.$image_id.”‘”;
$result = $site_db->query($sql);
$row = $site_db->fetch_array($result);
$row[‘image_name’] = strtr($row[‘image_name’], “ABCDEFGHIJKLMNOPQRSTUVWXYZ”,”eeeaeauoiaabcdefghijklmnopqrstuvwxyz”);
// if you want comlpete path to image in url, remove comment from following line
//return get_category_url($row[‘cat_id’]).’-‘.str_replace(‘+’,’-‘,urlencode($row[‘image_name’])).’-‘.$image_id;
return ‘_’.str_replace(‘+’,’_’,urlencode($row[‘image_name’])).’_’.$image_id;
}
Read More »SEO: URL Rewrite for 4images

RELATED SEARCH TERMS:

Cheap Laptop Refill Battery or Wrong Price?!

My Story today, This old laptop battery has drop and cannot be recharged ha ha ha poor me 😀 I send it back to kotakom store and asking them to refill the battery. After waiting for 2 week kotakom contact me and asking if I want totally battery change I will get charge $10 or Rp 90,000 ($1=Rp 9,000) OK I approve that and waiting to see how kotakom work. Laptop sending back to my home and kotakom asking me to get it on their local store in my city. I come to there and surprise they only charge me… Read More »Cheap Laptop Refill Battery or Wrong Price?!

Youtube Can Accessed Again!

nuh.jpgHa Ha Ha 😀 finally our government has learn something over this week, Internet Power! Started from today all Indonesian people can access youtube website again, memkoninfo officially said access into youtube and some site has “fitna” movie on it can be accessed but blocked for URL of that movie.

This is better than totally blocked site content, After a week people has depressed (me too :p) we are complaining and plan to make big demonstration because we all believe this is totally make us STUPID on this world by blocked big site like youtube. I love youtube content it’s creative. Anyway not all people have some view point like me so if youtube want to stay be loved and exist I suggest use that MODERATION functions.

Indonesian Government officially apologized for any lost or damage for a week because this blocking they alsoRead More »Youtube Can Accessed Again!

Youtube got blocked: Affect from Fitna the movie

Started from today when I write this article officially memkominfo has declared ultimatum to blocked access into youtube and any blog or website has fitna Movie content on it.

Mohammad Nuh

This letter of ultimatum has been sent to 146 ISP (Internet Service Provider) and 30 NAP (Network Access Provider) on Indonesia, It’s strange because I can still access youtube site. Also I’m disagree with blocking access to youtube site because fitna movie. Actually I hate that movie from my personal view that movie can make war because provocating Muslim and Christian,Read More »Youtube got blocked: Affect from Fitna the movie

Stop Virus Stargate

There is virus attack my cybercafe server again yesterday. It’s identified as “Stargate” It’s Really hard to stop it first time my server got infected. I lost almost my public data caused by this virus 🙁 Here is the way for people looking to stop this virus, I’m not guarantee this way will make your system clean 100% but sure it will stop the virus. 1. Unplug all cable connected to and from your computers network. 2. Better clean your computer in safe mode 3. Kill Virus process, you can use KillVB to do this. Before you kill virus process… Read More »Stop Virus Stargate

My Video Site

I just want to share my story today with you all my readers, I just bought new domain name and hosting on crayonhost. After searching and choose relevant name for more than 1 hours I choose name vidzmotion.com why vidzmotion? actually I try to get domain name videoplaza.com, videomotion.com, sharevideo.com, videotube.com but someone already register it before me…. j**k!!! 😀 Why Crayonhost? When I do searching for hosting that support for ffmpeg only crayonhost can give the best price and service (uptime guarantee). I’m not try to promote them.. this is just my opinion don’t take it to much seriously.… Read More »My Video Site

Hitachi Flora Review

I own this notebook for 7 month already, as a review I enjoy this flora performance. It’s have standard hardware for people who just needed personal notebook for work and learn. This flora never have problem in hardware and software compability, anyway it can’t be used for playing new games who’s usually takes to much RAM and HDD. Flora is the best notebook for student…. I mean the price :-p Hitachi Flora specification 800 MHZ processor speed 20 GB ATA HDD 14.1″ TFT 128 MB SDRAM FDD CD-RW 2 USB Port 2 PCMCIA Slot LAN Integrated LPT1 Available for Printer… Read More »Hitachi Flora Review

I want cheap notebook with rich features =P

Ha ha, I know it almost impossible to get cheap notebook with rich features on it. Anyway in the past around 6 month ago I hear about ASUS EEE PC which it not to much costly. Price around $199 – $300 and it’s really fits student money.. like me =p Now the time to buy this notebook has come, ASUS will promoting their EEE PC in Indonesia in the middle of February 2008.. I want to buy one even I already use Hitachi flora. This notebook is beauty in design, with almost feature we needed on this golden year of… Read More »I want cheap notebook with rich features =P

Remove Most mIRC Spam

Your mIRC client sending spam messages without your permission? STOP IT! This day spam used as business for some bad people on internet they called the dark side of internet. Spam is business? how can I say that… Spam was targeting on some newbie, the reason behind it simple just for MONEY or VIRUS SPREADING we should fight back and stop this spam. My Topic this time is the remover for the most mIRC client spam, it’s free no need to pay! Spam remover Guide how to use it: After you download it you should put it in the root… Read More »Remove Most mIRC Spam