Babylon - Babylon7 Translation in a click
The leading translation software in the world
I cant tell you how much i like babylon translation tool, so i decided to create a special folder in my blog about that..
Babylon main features:
- Simple and intuitive Single Click activation
- Enables full text translation
- The world’s knowledge of Wikipedia already inside
- Additional content from Oxford, Britannica, Larousse and other leading publishers
- Spell check for Hotmail, Gmail, Blogs…
- Auto completion feature, which completes words or phrases as you type
Why should you use Babylon 7?
Babylon 7:
Other translation services:
PHP ociparse Error Handling
ociparse
(PHP 4, PHP 5, PECL oci8:1.0-1.2.4)
ociparse — Alias of oci_parse()
Description
This function is an alias of: oci_parse().
$stmt = OCIParse($conn, $query);
if (!$stmt) {
$err = OCIError($conn);
echo “Error:”.$err[”message”];
}
PHP MySQL Connect
MySQL Connect
<?php
$connection=mysql_connect(”localhost”, “username”, “password”) or die(mysql_error());
echo “Connected to MySQL<br />”;
?>
Simple PHP Exception Handling explanation
What is an Exception
Finaly, with php5 came a new object oriented way for dealing errors,
if a specified error (exceptional) condition occurs exception handling is used to change the
flow of the code execution .
Exceptions are a great tool and should only be used with error conditions,
dont ever use them to jump to another place in the code at a specified
point - you cant know what will happend.
Basic Use of php5 Exceptions
When an exception is thrown, PHP will try to find the matching “catch” block.
The bad way:
<?php
function checksum($number1=NULL,$number2=NULL)
{
if($number1===NULL OR $number2===NULL)
{
throw new Exception("Value must not be NULL");
}
return true;
}
checksum(7,NULL);
?>
The good way:
Good Luck! use this php5 tool smartly.


