Login   Register  
PHP Classes
elePHPant
Icontem

File: Sample.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of bader alnadabi  >  ARCon  >  Sample.php  >  Download  
File: Sample.php
Role: Example script
Content type: text/plain
Description: sample file to see in action
Class: ARCon
Transliterate Arabic text
Author: By
Last change:
Date: 8 years ago
Size: 787 bytes
 

Contents

Class file image Download
<?

// Require the library
   
require ("convert.php");


// Load Class
   
$html = new html;


// Your Arabic Text goes here , you can passit via form parameter

$Text "العربية هنا ";



// converting the arabic text to english and pass the result again to $Text2 
$Text2 $html -> do_convertlang($Text);





// display the result in to user screen 

echo "
<table align=center width=300 bgcolor=gray>
<br><br>
Arabic Text is : 
$Text
<br><br>

</table>
<br><br>
"
;


echo 
"

<table align=center width=300 bgcolor=gray>
<br><br>
Converted Text is : 
$Text2
<br><br>
</table>




"
;





echo 
"
<br><br>
<table align=center>
<br><br><b>
This script created by AlNadabi.com
<br><br>
</table>




"
;