Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 5 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";