Location: PHPKode > scripts > PHP Voice > php-voice/samples/welcome_mod.php
<?php

/**
 * Sample usage of the welcome module
 *
 * @author Ben Yacoub Hatem <hide@address.com>
 * $ version 1.0.0 Fri Nov 05 05:24:47 CET 2004 05:24:47 by hatem
 */

 include ("../vxml.class.php");
 
 $app = new gonx_vxml();

 $app->start_vxml("", "", "", "", "", "2.0");
 
 $app->start_catch("connection.disconnect"); $app->start_exit_c(); $app->end_catch();
 
 $app->load("message",array("","Hello world","#menu"));
 
 $app->load("message", array("menu","Thank you for your visit, bye bye."));
 
 $app->end_vxml();

 $app->generate();

?>
Return current item: PHP Voice