session_start();
if (isset($_SESSION['loggedin']) && $_SESSION['loggedin'] == true) {
echo "Привет,Юзверь, " . $_SESSION['username'] . "!";
} else {
echo "Пользователь не написал информацию о себе";
}
[XML]$xml = Get-Content "путь до xml"
$xpath = "/configuration/appSettings/add[@value='5' and @key ='shopId']"
$nodes = $xml.SelectNodes($xpath)
foreach ($n in $nodes) {
$n.value = "S013"
}
$xml.Save($xmlFile)
$n.value