<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2716.2200" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=274005717-06032004>Hi
firiends,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=274005717-06032004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=274005717-06032004>Sorry for a basic
question here.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=274005717-06032004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=274005717-06032004>I am trying to write
an agi script using php. Nothing fancy just simple script
first.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=274005717-06032004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=274005717-06032004>I call the php
script from the extensions.conf</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=274005717-06032004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=274005717-06032004>exten =>
91234/1001,1,Wait,1<BR>exten => 91234/1001,2,AGI,test.agi<BR>exten =>
91234/1001,3,Hangup</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=274005717-06032004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=274005717-06032004>php script is
;</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=274005717-06032004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=274005717-06032004>#!/usr/bin/php
-q<BR><?php<BR>ob_implicit_flush(true);<BR>set_time_limit(6);<BR>$stdout =
fopen('php://stdout', 'w');<BR>fwrite($stdout,"STREAM FILE demo-congrats"
);<BR>fflush($stdout);</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=274005717-06032004>?></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=274005717-06032004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=274005717-06032004>* telles me "Error
in Argument 1, char 3, option not found. ". </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=274005717-06032004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=274005717-06032004>script can be run
from command line.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=274005717-06032004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=274005717-06032004>Appreciate some help
to get going here.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=274005717-06032004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=274005717-06032004>Dough</SPAN></FONT></DIV></BODY></HTML>