PHP Classes
elePHPant
Icontem

File: helloworld.vxml.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ben Yacoub Hatem  >  VXML  >  helloworld.vxml.php  >  Download  
File: helloworld.vxml.php
Role: Example script
Content type: text/plain
Description: Hello World Sample
Class: VXML
generate easily VXML document
Author: By
Last change: Changed based on the version 1.0.1 of the php-vxml class
Date: 12 years ago
Size: 540 bytes
 

Contents

Class file image Download
<?php
   
////////////////////////////////////////////////////////////////////
    ///
    /// Sample usage of vxml.class.php
    /// Hello World sample.
    ///
    ////////////////////////////////////////////////////////////////////
   
   
include ("vxml.class.php");
   
   
$vxml_object=new voicexml;
   
   
$vxml_object->start_vxml_header($lang="fr");
   
       
$vxml_object->vxml_start_form();
       
           
$vxml_object->vxml_block("Hello World!");
   
       
$vxml_object->end_vxml_form();
       
   
$vxml_object->end_vxml();

   
$vxml_object->generate();

?>