-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathindex.php
44 lines (43 loc) · 1.58 KB
/
index.php
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
41
42
43
44
<?php
/**
* Run PHP Code
*
* This script gives you the ability to quickly test snippets of PHP code locally.
*
* @copyright Copyright 2011-2022, Website Duck LLC (http://www.websiteduck.com)
* @link http://github.com/websiteduck/Run-PHP-Code Run PHP Code
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
header('Content-Type: text/html; charset=utf-8');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Run PHP Code</title>
<script src="lib/ace/ace.js" charset="utf-8"></script>
<script src="lib/vue.global.prod.js"></script>
<script src="lib/vue-demi.iife.js"></script>
<script src="lib/vue-use-shared.iife.js"></script>
<script src="lib/vue-use-core.iife.js"></script>
<script src="lib/pinia.iife.js"></script>
<script src="lib/axios.min.js"></script>
<link rel="shortcut icon" href="favicon.ico" >
<link rel="stylesheet" href="css/run-php-code.css">
</head>
<body>
<div style="display: none;">
<?=file_get_contents('./img/check.svg')?>
<?=file_get_contents('./img/check-selected.svg')?>
<?=file_get_contents('./img/eraser.svg')?>
<?=file_get_contents('./img/github-octicon.svg')?>
<?=file_get_contents('./img/menu.svg')?>
<?=file_get_contents('./img/open.svg')?>
<?=file_get_contents('./img/play.svg')?>
<?=file_get_contents('./img/radio.svg')?>
<?=file_get_contents('./img/radio-selected.svg')?>
<?=file_get_contents('./img/save.svg')?>
</div>
<div id="app"></div>
</body>
<script type="module" src="js/run-php-code.js"></script>
</html>