Show sourcecode

The following files exists in this folder. Click to view.

webbutv3/word-app/scripts/

create-user.php
index.php
initialize-db.php
insert.php
insert_page.php
test.php
translate.php

index.php

37 lines ASCII Windows (CRLF)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html>

<?php

include "../include.php";

$path "./";

?>
<html lang="en">

<head>
    <?php include "../components/head.php" ?>
</head>

<body>
    <?php include "../components/header.php" ?>
    <?php

    
if ($handle opendir($path)) {
        while (
false !== ($file readdir($handle))) {
            if (
'.' === $file)
                continue;
            if (
'..' === $file)
                continue;

            
// do something with the file
            
echo encase("<a href='" $file "'>" .
                
$file .
                
"</a>""p");
        }
        
closedir($handle);
    }
    
?>
</body>

</html>