Login   Register  
PHP Classes
elePHPant
Icontem

File: examples/AjaxTest/lat2cyr.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Yaroslav Shapoval  >  Cyrillic to Latin  >  examples/AjaxTest/lat2cyr.php  >  Download  
File: examples/AjaxTest/lat2cyr.php
Role: Application script
Content type: text/plain
Description: loader
Class: Cyrillic to Latin
Translite text between cyrillic and latin
Author: By
Last change:
Date: 2005-10-26 10:40
Size: 301 bytes
 

Contents

Class file image Download
<?php
require_once "lib/config.php";
require_once 
"lib/Php.php";
require_once 
"../../cyrlat.class.php"

$JsHttpRequest =& new Subsys_JsHttpRequest_Php("windows-1251");

$q $_REQUEST['q'];

$text=new CyrLat;

$_RESULT = array(
  
"q"     => $q,
  
"cyr"   => $text->lat2cyr($q),
); 
?>