Archive for June, 2008
Tutorial – How to use arrays in php
Posted by Colin Jensen in PHP on June 26th, 2008
Using arrays in PHP can be a very powerful technique of handling data.
If you are not familiar with arrays in PHP then use simple code!
Example of simple code.
$fruit['apples'] = 'I like apples';
$fruit['oranges'] = 'I like oranges';
$fruit['banana'] = 'I like bananas';
Example of advanced code.
$fruit = array("apples" => 'I like apples', "oranges" => 'I like oranges', "banana" => 'I like bananas');
Using advanced code saves lines in the source code but if you are not familiar with arrays it could be harder to troubleshoot if you get parse errors. Once you feel confident with arrays then I would recommend using advanced code.
Reading from arrays.
Arrays are very simple to read from. Using our example code above, to see the value of Apples we would use
echo $fruit['apples'];
this would return: I like apples
Looping through arrays
Looping through arrays is easy too, but this is where people usually get stuck. Just look at it from a logical point of view. We are going to use the foreach function to go through the array.
foreach($fruit as $key => $value) {
echo $key . ' : ' . $value . '<br />';
}
This would return:
apples : I like apples
oranges: I like oranges
banana: I like bananas
Using the foreach function above, think of $key as the name and $value as the information we assigned.
If you would like any more information regarding arrays then please leave a comment or visit the PHP manual by clicking here
The best media player for Windows Mobile
Posted by Colin Jensen in Windows Mobile on June 25th, 2008
I have played with many different media players on my Windows Mobile device and so far the best I have come across is CorePlayer.
If you have a HTC Kaiser then you are most likely aware of the display drivers performance issues(If not click here). CorePlayer has a special option to help target this problem and increase the performance and it really does help!
The lastest version of CorePlayer comes with an in-built YouTube browser that is really effective and easy to use.
Click Here to download or view CorePlayer





Delete your computers history and temporary internet files
Posted by Colin Jensen in Tips and Tricks on June 25th, 2008
CCleaner is a free program that specializes in deleting all your computers history, temporary internet files and cookies. If you have never ran a clean up procedure before then you will be amazed in the amount of junk this will remove.
How to delete the temporary internet files, history and cookies.
- Download CCleaner V2.08 installation here ( Latest version as of 25/06/2008 is v2.08 ) If you would like to check for the latest version then click here http://www.ccleaner.com/download/downloading
- Once the file has downloaded, run the installation.

- Click Next >
- Accept the license agreement by clicking I Agree.
- By default the installation will install CCleaner into the program files, [RECOMMENDED] if you are happy with this click Next >
- The installation will try to install the Yahoo Tool bar and add some Windows Shell Extensions which are not required, However if you would like to support this great program then leave the Add CCleaner Yahoo Tool bar ticked. I personally would leave it not ticked as I hate unnecessary tool bars.

- Click Install.
- Click Finish – CCleaner is now installed.
- You can access CCleaner from the Windows Desktop or from the Start Menu.
- On Windows Desktop the icon will appear like this.

- Double click CCleaner on the Windows Desktop

- If you want to delete all history on the computer I would recommend ticking all the boxes, ignoring the warnings and then click Run Cleaner
If you let Internet Explorer remember search information, user names or passwords then I would recommend not ticking the “Autocomplete Form History” box.
CCleaner can also be used as a registry cleaner. Click the Registry icon in the menu to use this feature.
Thanks to Piriform Ltd. for creating this great application.
* CCleaner stands for Crap Cleaner
TomTom 7 for Windows Mobile
Posted by Colin Jensen in Windows Mobile on June 24th, 2008
It has recently been reported over at xda-developers.com that TomTom 7 has been shipped with some HTC Diamond phones. This has allowed users to extract the TomTom 7 and put it up for download.

Click here to view the article and download TomTom 7 for Windows Mobile
Resources
http://pocketnow.com/index.php?a=portal_detail&t=news&id=5471
Google Android for Windows Mobile
Posted by Colin Jensen in Windows Mobile on June 24th, 2008
I have recently been testing Google Android on my HTC Kaiser mobile phone.
The HTC Kaiser may also be known as o2 XDA Stellar, MDA Vario III, HTC TyTN II etc.
It looks great however I cannot seem to get it to work with my wireless connection. So I am very limited to what I can do. There is many beta testers out there who have had much more success then I have and if you are interested in giving it a shot you can download all the relevant tools at the Xda-Developers forum. Click here to view the thread http://forum.xda-developers.com/showthread.php?t=396782
Here are some screenshots.




For more screenshots visit here http://pics.roffnoppe.de/android-m5/
Resources
Knight Rider GPS System with authentic KITT voice
Posted by Colin Jensen in Gadgets on June 24th, 2008
I used to LOVE watching Knight Rider as a kid and I still do now!
That is why I have posted an article on this great gadget.



Creator: MIO
It’s fun from the first time you hit the power switch, KITT instantly asks you “Hello Michael, where do you want to go today?”
Using the authentic William Daniels voice!
This unit is not available yet, price is expected to come in at £140. Mio are yet to release any actual hard details on the GPS’ capabilities – mapping, media playback, that sort of thing – since they know that all we care about is KITT’s voice.
For more information on this item Click Here
Resources
http://www.slashgear.com/mio-knight-rider-gps-with-authentic-kitt-voice-2312200.php
NASA digs up ice on Mars and its evaporated!
Posted by Colin Jensen in Interesting on June 23rd, 2008
Did you know NASA currently has two rovers (Spirit rover and Opportunity rover) and one lander (Phoenix Spacecraft) on Mars.
The Phoenix spacecraft landed on Mars on the 25th May 2008 and recently beamed back images of a trench dug up by its Robotic Arm.
The colour images were acquired by NASA’s Phoenix Mars Lander’s Surface Stereo Imager on the 21st and 25th days of the mission, or Sols 20 and 24 (June 15 and 19, 2008).
* A sol is a term used to refer to the duration of a solar day on Mars = 24 hours, 39 minutes, and 35.244 seconds
These images show ice in the trench informally called “Dodo-Goldilocks” over the course of four days.
In the lower left corner of the left image, a group of lumps is visible. In the right image, the lumps have disappeared, similar to the process of evaporation.

To view more information regarding ice on Mars Click here
Other Interesting facts about Mars
The Spirit rover landed on Mars on the 4th January 2004 and it lasted 779 sols (This rover is no longer operation due to equipment failures, it can only be used to brush targets)
The Opportunity rover landed on Mars on the 25th January 2004 and is still functional however there is a lot of dust on its solar panels which is causing problems, it is also experiencing equipment failures.
Both Spirit and Opportunity took stunning photos of Mars.
Click the image to view a larger version.

To view more photos including high definition photos of Mars Click here
To read more about Mars Exploration missions Click here
Resources
http://www.nasa.gov/mission_pages/phoenix/main/index.html
http://en.wikipedia.org/wiki/Exploration_of_Mars
http://en.wikipedia.org/wiki/Mars
All Materials are Copyright of their Respective Rightful Owners.

