-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.html
More file actions
29 lines (29 loc) · 1.35 KB
/
example.html
File metadata and controls
29 lines (29 loc) · 1.35 KB
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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>LivePHP example</title>
<script type="text/javascript" src="livephp.js"></script>
<link rel="stylesheet" href="example.css" />
</head>
<body>
<h1>LivePHP </h1>
<p>by Bence Meszaros<br>
<a href="https://github.com/mbence/livephp">https://github.com/mbence/livephp</a></p>
<p> </p>
<p><em>LivePHP will save PHP developers time by automatically refreshing the browser when any file is changed in the working directory.</em></p>
<p><br>
</p>
<h2>Description</h2>
<p>This little script was written to make developers' life easier.<br>
Inspired by the brilliant live.js script (written by Martin Kool), <br>
this script will auto refresh your browser if you change any file in your working directory. No need for Alt-Tab and manual refresh anymore.</p>
<p>With this script, it is also very easy to check your work in many browsers simultaneously. <br>
Just load the site in all your browsers or devices and the rest goes automatically.</p>
<p>WARNING!<br>
You should never activate this on a live server! It is meant for developer environment only!</p>
<h2>Installation</h2>
<p>Copy the included files in your directory and include the livephp.js script in your html. Opitonally you can set the directories to monitor or ignore in the livephpmonitor.php file.<br>
</p>
</body>
</html>