page_prolog.php
Kód: Vybrať všetko
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Fibel.tym.sk</title>
</head>
<body>
<? include('f.php'); ?>Kód: Vybrať všetko
</body>
</html>Kód: Vybrať všetko
<? readfile('page_prolog.php'); ?>
<center>Ahoj.</center>
<? readfile('page_epilog.php'); ?>Kód: Vybrať všetko
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Fibel.tym.sk</title>
</head>
<body>
<? include('f.php'); ?><center>Ahoj.</center>
</body>
</html>Ide mi o to, že akú funkciu mám použiť, aby sa preložil skript vkladaný v tomto prípade pomocou funkcie readfile()