include "tbh/global.tbh"
include "tbh/config.tbh"
include "tbh/http_string.tbh"
?>
>
WWW Server
IP:
sock.setdata(net.ip)
sock.send
?>
File: config_store.html
declare httprqstr as string
dim ipcfg as ip_config
httprqstr = sock.httprqstring
ipcfg = http_req_2_ipconf_type(httprqstr)
stor_ip_set(ipcfg.conf, ipcfg.ip, ipcfg.netmask, ipcfg.gateway)
'test
ipcfg = stor_ip_get()
?>
The IP configuration is beeing saved. Please reboot your system.
File: config_store.html