ESPTerm - ESP8266 terminal emulator. Branches: [master] patches, [work] next release
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<?php
|
|
|
|
|
|
|
|
$f = file_get_contents('term.html');
|
|
|
|
|
|
|
|
$f = str_replace('%screenData%',
|
|
|
|
'{
|
|
|
|
"w": 26, "h": 10,
|
|
|
|
"x": 0, "y": 0,
|
|
|
|
"cv": 1,
|
|
|
|
"screen": "70 t259"
|
|
|
|
}', $f);
|
|
|
|
|
|
|
|
$f = str_replace('window.location.host', '"192.168.0.18"', $f);
|
|
|
|
|
|
|
|
echo $f;
|