-users] asterisk config file online editor
No problem, hope it gets you where you need to be :)
Moj
Anton Krall wrote:
This is a good start, thx Moj
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mojo with
Horan Company, LLC
Sent: martes, 19 de
Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] asterisk config file online editor
Like 15 lines of php and html?
?php
$fn = /etc/asterisk/extensions.conf;
if ($_REQUEST['action'] == write $_REQUEST['contents'] != )
{
rename($fn, $fn...date(U
Guys, Im looking for a good text file editor for asterisk config files
that can be embedded on a web page for online editing (on an interface),
any recommendations?
Anton Krall
Direccion General
Intruder Consulting
A Division of
Like 15 lines of php and html?
?php
$fn = /etc/asterisk/extensions.conf;
if ($_REQUEST['action'] == write $_REQUEST['contents'] != )
{
rename($fn, $fn...date(U));
$fp = fopen($fn, wt);
fwrite($fp, $_REQUEST['contents']);
fclose($fp);
}
?
form
config file online editor
Like 15 lines of php and html?
?php
$fn = /etc/asterisk/extensions.conf;
if ($_REQUEST['action'] == write $_REQUEST['contents'] != )
{
rename($fn, $fn...date(U));
$fp = fopen($fn, wt);
fwrite($fp, $_REQUEST['contents']);
fclose
On Feb 19, 2008 10:44 AM, Anton Krall [EMAIL PROTECTED] wrote:
Guys, Im looking for a good text file editor for asterisk config files
that can be embedded on a web page for online editing (on an interface),
any recommendations?
You mean, something like this :