Download Latest BlackBerry 8900 OS

As of March 16, the latest OS to be released for the BlackBerry Curve 8900 is

This is not a leaked version, this is an official 5.0 release. Currently the only carrier making it available for download (from the site) is Wind Hellas.

To Download the new OS (note, people have reported this sometimes fails in chrome and Firefox:

  1. Go to the blackberry download site:
  2. Click “Access your service provider download site”
  3. Under Europe, Select Wind Hellas
  4. Select BlackBerry Curve 8900 and download the software
  5. Alternatively, you could try this rapidshare link:
  6. You can check out our guide on how to load a blackberry beta os if you need some help installing an os that’s not from your carrier

How to Buy a Laptop

This article explains the best way to go about purchasing a new laptop.

Netbook or Notebook?

First of all, I’m sure the possibility of buying a netbook has crossed your mind. We strongly recommend against it. There was a time that netbooks were so much cheaper than larger laptops that it was worth putting up with all their issues. This no longer applies – full sized laptops are now priced at a level that makes them a better solution than a netback no matter what your budget is. I’m sure a quick google search of “why netbooks suck” will be enough to talk you out of this useless laptop alternative.


You are buying a laptop because it is a portable computer. If you really only see yourself using it at a desk, then buy a desktop. You pay a huge premium for the portability of a laptop. On average, if you were to spend the same amount of money on a desktop, the computer you could afford would be 3 times as fast (or 3 times better) than a similarly priced laptop.

Maybe you think that you want a portable computer, but you will still be using it at a desk quite often. If this is the case, you might be tempted to get a laptop with a very large screen (in the range of 15″ to 17″.) People who buy 17″ laptops are invariably disappointed. A bigger screen almost always means a heavier, noisier, hotter computer. A 15.4″ screen is as large a laptop as you would ever want. We recommend smaller: Either 13.3″, 14″ or 12″. These are the three best sizes of laptop. If you end up using your laptop at a desk most of the time, you should go buy an external monitor.

NOTE: In most cases a larger screen DOES NOT mean you can see more – how much you can see on your screen is limited by the screen’s pixels or resolution and most manufacturers use the same resolution in all of their screen sizes (typically 1280×800.) A larger screen offers fewer benefits than you might expect.


There are basically 2 schools of thought on how much you should pay for a laptop. You can either buy a cheap one and replace it in exactly 2 years, or buy an expensive one and keep it for 4 years. When the laptop performance was shooting up every month, it was a better idea to stick to cheap ones and replace them often. Today however (and for the past year or so) laptop performance as been comparatively stagnant. Most of the time, the big factor in replacing your laptop is the release of a new version of Windows that would run too slowly on your old computer. For the first time in Microsoft history they released a version of windows that was less physically demanding on your computer than their last release. Windows 7 runs better on almost all computers than Windows Vista. This demonstrates that it is no longer that important to constantly upgrade the performance (RAM, CPU, Videocard) or your laptop. We recommend purchasing more expensive laptop and keeping it for a longer period of time. That said, if you do not need a top of the line machine, go with a cheaper one – there is no rule that says you HAVE to replace it in 2 years.


If you want an expensive laptop go with one of the following: Macbook Pro, Lenovo Thinkpad T400, Lenovo Thinkpad X200, Dell Studio XPS, Dell Latitude.

If you want a cheaper laptop, go with one of these: HP Pavilion, Acer Aspire, Dell Inspiron, Gateway.

Hope that helps! Feel free to post comments or questions about your laptop purchasing experience.

How To Secure Your Facebook Privacy


Anonymous attacks FacebookBy Nataliya Schafer

Facebook has changed its privacy policies several times since the site first launched in September 2006, leaving many of its users confused over its latest privacy policy adjustment.

In December 2009 the website changed its security policy for a third time, suddenly making information that could be censored from certain people (such as relationship status and sexual orientation) in to publicly accessible information unless settings were manually readjusted.

According to Facebook’s CEO Mark Zuckerberg “people [nowadays] are more open to sharing information,” and their tweaked privacy settings now reflect this ‘social norm’.

Even if you frequently monitor your security settings, you may be missing some newly changed settings that can be easily readjusted. ,, and all have excellent guides on how to ensure you aren’t sharing more with your relatives or boss than you want to.

Install Perl Module Linux | Ubuntu

This guide explains how to install perl modules using CPAN in Linux

  1. Type: perl -MCPAN -e shell;
    • This will take you into the perl cpan shell – if you are promted to answer some questions, just answer them (typically with the default answer – just press enter)
  2. Type: install MODULENAME
    • i.e. Type: install IO::Socket
    • Answer all the questions, generally just use the default (press enter)
    • if something fails and it appears that it should not have, you can try: force install MODULENAME

Query Database with Drupal Form

The Problem

  • By default, there is no way to allow your users to query one of your databases (either internal or external) in Drupal. Additionally, there are no modules that really allow you to do this either.

The Solution

  • With a little pasting and editing, this guide will enable you to let users do a simple search of one of your databases. This information can easily be extended to allow for all kinds of user-database interaction in Drupal.
  • Use Ajax! This is by far the easiest way to get the job done.


  • Make sure that you have the PHP code Input Format enabled. To do this simply go to Administer->Site Building->Modules. Scroll Down to PHP Filter, make sure it’s enabled, click ‘Save Configuration’
  • If you have a rich text editor enabled (such as YUI) you should disable it temporarily while we create the form

The Drupal Page/Form

  • Go to Create Content and create a new page (it doesn’t have to be a page, but we’ll use a page for the sake of this guide.)
  • Call the page Database Query
  • Select PHP code from the Input Format dropdown.
  • Paste the following code into your page:


<script language=”javascript” type=”text/javascript”>
//Browser Support Code
function ajaxFunction(){
var ajaxRequest; // The variable that makes Ajax possible!

// Opera 8.0+, Firefox, Safari
ajaxRequest = new XMLHttpRequest();
} catch (e){
// Internet Explorer Browsers
ajaxRequest = new ActiveXObject(“Msxml2.XMLHTTP”);
} catch (e) {
ajaxRequest = new ActiveXObject(“Microsoft.XMLHTTP”);
} catch (e){
// Something went wrong
alert(“Your browser broke!”);
return false;
// Create a function that will receive data sent from the server
ajaxRequest.onreadystatechange = function(){
if(ajaxRequest.readyState == 4){
var ajaxDisplay = document.getElementById(‘ajaxDiv’);
ajaxDisplay.innerHTML = ajaxRequest.responseText;
var lastphp = document.getElementById(‘lastphp’).value;
var queryString = “?lastphp=” + lastphp;“GET”, “/php/check.php” + queryString, true);

<form name=’myForm’>
<table border=”0″>
<td width = 100>Last Name: <br /></td>
<td><input type=’text’ id=’lastphp’> </td>
<br />
<input type=’button’ onclick=’ajaxFunction()’ value=’Search’ />
<div id=’ajaxDiv’></div>

  • There is only one thing we eventually will have to change, but we’ll leave it for now: “/ajax-example.php” (just before the tag. You’ll probably want to keep your php file somewhere else, and will have to update the file location accordingly.
  • For now, just hit the save button to save your page and move onto the next step.

The PHP File

  • We now have to create the PHP file that the above ajax script refers to.
  • Open up your favorite text editor and paste in the following code:

//Connect to MySQL Server
//connect to your database ** EDIT REQUIRED HERE **
mysql_connect("localhost","MySQLUser","password") or die('Cannot connect to the database because: ' . mysql_error());

//specify database ** EDIT REQUIRED HERE **
mysql_select_db(“databaseName”) or die(“Unable to select database”); //select which database we’re using

// Retrieve data from Query String
$last = $_GET[‘lastphp’];

// Escape User Input to help prevent SQL Injection
$last = mysql_real_escape_string($last);

//Build and run a SQL Query on our MySQL tutorial
$query = “SELECT * from dataTableName”; //just grab every row from our table
$results = mysql_query($query)or die(mysql_error());

//print what the user entered (eventually I’m sure you’ll want to use this data in your query)
echo “You Entered: ” . $last . “<br><br>”;

//print the results
echo “Database Results: <br>”;
while($row = mysql_fetch_array($results)){
echo “$row[lastname]<br>”; //NOTE: Here we are printing all the data from the ‘lastname’ column of our database, either change this name, or make sure you have a lastname column with some data in it

  • You will have to make some modifications to this file! These include
    • Server: I used localhost, you might have to change this
    • MySQL User: Change this to your user
    • password: This is the user’s password
    • databaseName: This is the name of your database
    • lastname NOTE: This needs to be changed to the name of a column/field in your database (it is located at the bottom of the code)
  • Save this file as check.php
  • Upload this file to your server/hosting space in a php folder within your Drupal Installation.
    • For example, if Drupal is installed in the root of you web page (like on just create a folder called php and upload your check.php file to it.
  • That’s it! Navigate back to the form you created (we called it Database Query) and try hitting the search button.
  • I’m sure this guide is a little tough to work through PLEASE post any questions or issues below – they will be answered quickly!

drupal mysql query