$data[] = '
<url>
<loc>'.$site.'/look/'.$sitemap['tag'].'</loc>
<lastmod>'.date('Y-m-d').'T'.date('h:i:s+01:00').'</lastmod>
<priority>0.8</priority>
</url>
';$data[] = "\n<url>\n<loc>"
.$site."/look/".$sitemap['tag']."</loc>\n"
."<lastmod>".date('Y-m-d').'T'.date('h:i:s+01:00')."</lastmod>\n"
."<priority>0.8</priority>\n"
."</url>\n"; The original visitor IP address appears in an appended HTTP header called CF-Connecting-IP. By following our webserver instructions, you can log the original visitor IP address at your origin server.
$_SERVER["HTTP_CF_CONNECTING_IP"] $rsMyCredits = $objDBCD14->queryUniqueObject(
"SELECT Balance FROM tbl_users WHERE UserId = '" . $rs->UserId . "' FOR UPDATE"
); $stmt = $connection->prepare("INSERT INTO UserStreetid(Id, Streetid) VALUES (?, ?) ON DUPLICATE KEY UPDATE Streetid = ?");
$stmt->bind_param("iii", $datatopush[0], $datatopush[1], $datatopush[1]);
if (!$stmt->execute())
echo"Error:".$qpush."<br>".mysqli_error($connection);"--" . $boundary . "--";.serialize() обрабатывает все типы, кроме resource и некоторых типов object
<html>
<head>
<title>PHP is<? if ($a): ?> cool<? else: ?> not cool<? endif; ?></title>
</head>
<body>
<h1><?=$head1 ?></h1>
</body>
</html><? на самом деле короче и удобнее, чем <?php, но он, например, конфликтует синтаксически с тем же XML:<?xml version="1.0" encoding="UTF-8"?>
...<html>
<head>
<link rel="icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="style.css">
<?=$additional_meta ?? ""; ?>
</head><?php
$additional_meta = "<title>Как сделать meta tag для определенной страницы, если у меня шапка на нее подключается через include?</title>";
include("header.php");
?>
<body>
... -1000 ** (1 / 3) вычисляется на самом деле как -(1000 ** (1 / 3))str_split() will split into bytes, rather than characters when dealing with a multi-byte encoded string.
DEFAULT (datetime('now','localtime'))