O1
git clone https://github.com/bedjan/web.git
https://github.com/bedjan/web/blob/main/index.php
https://github.com/bedjan/web/blob/main/obsah.php
https://github.com/bedjan/web/blob/main/hlavicka.md
https://github.com/bedjan/web/blob/main/web.md
https://github.com/bedjan/web/blob/main/paticka.md
https://htmlpreview.github.io/
https://github.com/bedjan/web
-
na Repozitari vytvor soubor
XXX.md
-
Vytvoř nový php soubor
XXX.php
XXX.php aprepis v php kódu XXX
<?php
include('Parsedown.php');
$html = file_get_contents('https://raw.githubusercontent.com/bedjan/web/main/hlavicka.md');
$html1 = file_get_contents('https://raw.githubusercontent.com/bedjan/web/main/XXX.md');
$html2 = file_get_contents('https://raw.githubusercontent.com/bedjan/web/main/paticka.md');
$Parsedown = new Parsedown();
echo $Parsedown->text($html);
echo $Parsedown->text($html1);
echo $Parsedown->text($html2);
?>
-
Uprav Hlavičku, do soboru
hlavicka.md
hlavicka.md pridej text[XXX](XXX.php)
-
Uprav soubor
obsah.php
obsah.php a pridej radek a prepisXXX
<?php
copy("https://raw.githubusercontent.com/bedjan/web/main/XXX.php", "XXX.php");
?>
- do
index.php
je vlozenoobsah.php
<?php
$filename = 'obsah.php';
if (file_exists($filename)) {
copy("https://raw.githubusercontent.com/bedjan/web/main/obsah.php", "obsah.php");
include('obsah.php');
} else {
copy("https://raw.githubusercontent.com/bedjan/web/main/obsah.php", "obsah.php");
include('obsah.php');
}
?>
<?php
copy("https://raw.githubusercontent.com/bedjan/web/main/mm.php", "mm.php");
copy("https://raw.githubusercontent.com/bedjan/web/main/linux.php", "linux.php");
copy("https://raw.githubusercontent.com/bedjan/web/main/ekologie.php", "ekologie.php");
copy("https://raw.githubusercontent.com/bedjan/web/main/php.php", "php.php");
copy("https://raw.githubusercontent.com/bedjan/web/main/linux-cli.php", "linux-cli.php");
copy("https://raw.githubusercontent.com/bedjan/web/main/germanismy.php", "germanismy.php");
?>
<?php
copy("https://raw.githubusercontent.com/bedjan/web/main/Parsedown.php", "Parsedown.php");
?>
<?php
include('Parsedown.php');
$html = file_get_contents('https://raw.githubusercontent.com/bedjan/web/main/hlavicka.md');
$html1 = file_get_contents('https://raw.githubusercontent.com/bedjan/web/main/web.md');
$html2 = file_get_contents('https://raw.githubusercontent.com/bedjan/web/main/paticka.md');
$Parsedown = new Parsedown();
echo $Parsedown->text($html);
echo $Parsedown->text($html1);
echo $Parsedown->text($html2);
?>