Is it possible to modify the standrard-config-file (on the TFTP server) from an web interface in this way?
Does anyone know any good codes for this? (I'm a beginner in PHP programming )
On the webpage i need it to be simple. Just a few textboxes where you can change each row.
ex:
IP1: ........
IP2: ........
User: .......
Pass: .......
Save file as: .........
Here is an example: xxxx.cfg
I want to modify this:
Code: Select all
N ImGwaMgcpCA ImGwaMgcps.gwa.ImGwaMgcpCAs.CA1
A Contact 111.111.111.111
A Master true
N ImGwaMgcpCA ImGwaMgcps.gwa.ImGwaMgcpCAs.CA2
A Contact 222.222.222.222
A Master falseCode: Select all
N ImGwaMgcpCA ImGwaMgcps.gwa.ImGwaMgcpCAs.CA1
A Contact 333.333.333.333
A Master true
N ImGwaMgcpCA ImGwaMgcps.gwa.ImGwaMgcpCAs.CA2
A Contact 444.444.444.444
A Master false