[Asterisk-Dev] AGI script - File Writing authorization !!!
Steven Critchfield
critch at basesys.com
Mon Sep 22 08:31:20 MST 2003
On Mon, 2003-09-22 at 09:08, Areski wrote:
> Hello,
>
> I created an agi script in which I would like to write some data in a
> file, I realized that if * call the agi script that doesn't allow the
> application to create or to write in the new file.
>
> if ((file_log = fopen (filelog, "a+")) == NULL)
>
>
> What is the reason of that ???
I have not had any problems writing log files from within AGI. Due to
the way things are starting, you want to make sure you have specified a
full path to where you want to write.
--
Steven Critchfield <critch at basesys.com>
More information about the asterisk-dev
mailing list