PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Ray   Google Translator   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: This is the simplest way to use the class
Class: Google Translator
Translate texts between idioms using Google
Author: By
Last change:
Date: 15 years ago
Size: 185 bytes
 

Contents

Class file image Download
<?php
include('GoogleTranslate.class.php');

$google_trans = new GoogleTranslate('en','it','hello old man');

$translate_text = $google_trans->translate();

print
$translate_text."\n";