-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathtest.php
More file actions
executable file
·41 lines (26 loc) · 824 Bytes
/
test.php
File metadata and controls
executable file
·41 lines (26 loc) · 824 Bytes
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
38
39
40
<?php
header('HTTP/1.1 200 OK', TRUE);
header("Status: 200");
header("Content-Type: text/html; charset=UTF-8");
include_once 'config.php';
include_once 'common.php';
ini_set('max_execution_time', 300000);
generateSitemap(); die();
$time = echoTime(0);
print_r(UtilityDB::getCategories($bookID));
$time = echoTime($time, "Home");
$bookID = 1;
echo "<p>getBookCategories: ";
print_r(UtilityDB::getBookCategories($bookID));
echo "<p>getBookAuthors: ";
print_r(UtilityDB::getBookAuthors($bookID));
echo "<p>getBookInfo: ";
print_r(UtilityDB::getBookInfo($bookID));
echo "<p>getPartsNumbers: ";
print_r(UtilityDB::getPartsNumbers($bookID));
echo "<p>getPagesIDs: ";
print_r(UtilityDB::getPagesIDs($bookID));
echo "<p>getPage: ";
print_r(UtilityDB::getPage($bookID, 1, 1));
$time = echoTime($time, "View book");
?>