PHP Classes

File: r_ajax.php

Recommend this page to a friend!
  Classes of Jacek Wloka   Text To Speech   r_ajax.php   Download  
File: r_ajax.php
Role: Example script
Content type: text/plain
Description: example 2 for ajax
Class: Text To Speech
Convert test to speech using Expressivo service
Author: By
Last change: Overall, the code update
Date: 15 years ago
Size: 1,506 bytes


Class file image Download

('Content-type: text/html; charset=ISO-8859-2');
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . date('r'));
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', FALSE);
header('Pragma: no-cache');

$txt = urlencode(trim(strip_tags($_GET[txt])));


  <object id="Player" height="100" width="320" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject" codebase=",0,0,0">
   <param name="URL" value="example_2.php?txt=<?php echo $txt; ?>">
   <param name="FileName" value="example_2.php?txt=<?php echo $txt; ?>">
   <param name="TransparentAtStart" value="-1">
   <param name="AutoStart" value="true">
   <param name="AnimationatStart" value="1">
   <param name="ShowControls" value="1">
   <param name="enablecontextmenu" value="1">
   <param name="autoSize" value="true">
   <param name="displaySize" value="1">
   <param name="Volume" value="100">
   <param name="uiMode" value="mini">
   <param name="enablecontextmenu" value="0">
   <embed src="example_2.php?txt=<?php echo $txt; ?>" type="application/x-mplayer2" pluginspage="" width="320" height="100" autostart="1" showcontrols="1" showstatusbar="1" showdisplay="1" autorewind="1" enablecontextmenu="1" loop="1" volume="100"></embed>