Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
btn4.onRelease = function() {
var loadV = new LoadVars();
if (adressListe.firstChild.hasChildNodes()) {
for (var aNode:XMLNode = adressListe.firstChild.firstChild; aNode != null; aNode=aNode.nextSibling) {
aNode.firstChild.nodeValue = _root[aNode.nodeName].text;
}//end for
}//end if
loadV.XML = adressListe.toString();
loadV.sendAndLoad("save.php", adressListe);
};
loadV.data = adressListe.toString();
btn_save.onRelease = function() {
var loadV = new LoadVars();
if (adressListe.firstChild.hasChildNodes()) {
for (var aNode:XMLNode = adressListe.firstChild.firstChild; aNode != null; aNode=aNode.nextSibling) {
aNode.firstChild.nodeValue = _root[aNode.nodeName].text;
}//end for
}//end if
loadV.data= adressListe.toString();
loadV.sendAndLoad("save.php", loadV, "POST");
};
<?php
if (isset($_POST["loadV"])) {
if ($fhd = fopen("adresse.xml", "w")) {
fwrite($fhd, $_POST["loadV"]);
}//end if
} //end if
?>