PHP
// 7 2003 .
,
,
html. , . ,
, .
PHP (, !) ,
html. . , :
: echo
"<b>".$boldtext."</b>"
;
, ,
.
?
,
<html>
<title>[TITLE]</title>
<body>
[TEXT]
</body>
<html>
, [TITLE], , , [TEXT] , .
. . .
! . ,
$page = str_replace ("[TITLE]", $title, $page);
$page =
str_replace ("[TEXT]", $text, $page);
. ,
. ! , : [TEXT]
, , , , ,
, .
, , , , .
,
.
, PHP,
. PHP, PHP. . .
.
<html>
<title>[TITLE]</title>
<body>
[TEXT]
</body>
<html>
? .
<html>
<title><?=$title?></title>
<body>
<?=$text?>
</body>
<html>
? . ,
text
<?=$text?>
. , ,
echo.
.
<html>
<?php
$text = " ";
$title = "
";
?>
<title><?=$title?></title>
<body>
<?=$text?>
</body>
<html>
. . :
<?php
$text = " ";
$title = "
";
include "template.html";
?>
? <?=$_?>
.
,
, 35
PHP.
?
<? if ($text==""): ?> <? else: ?> <? endif; ?>
</body><html><title><?=strtoupper($title)?></title>
<body>
, .
:
<b><?=$text;?></b>
</html>
. . PHP.
, , .
PS. .
95% .