-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
73 lines (54 loc) · 1.73 KB
/
index.php
File metadata and controls
73 lines (54 loc) · 1.73 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?php
$phpHeader = "PHP Introduction";
$phpFact1 = "↝ PHP is an acronym for PHP: Hypertext Preprocessor.</br></br>";
$phpFact2 = "↝ PHP is a server-side scripting language designed for web development. It was created by
Rasmus Lerdorf in 1994.</br></br>";
$phpFact3 ="↝PHP files have extension .php</br></br>";
$phpFact4 = "↝ PHP code are executed on the server, and the result is returned to the browser as plain HTML.</br></br>";
$phpFact5 = "↝ PHP can able to run on multiple OS’s(windows , Mac , Unix etc. ) and servers ( Apache , IIS etc. .).
</br></br>";
$phpFact6 = "↝ PHP can:<UL>• generate dynamic web content</br>• work with databases</br>• encrypt data</br>
• control user access</br></UL>
</p>";
?>
<html>
<?php echo "<body style='background-color:lavender'>"; ?>
<head>
<style>
h1 {
text-align: center;
color: #191970;
}
p {
text-align: justify;
color: #191970;
}
ul {
color: #191970;
}
a {
align-items: center;
color: #191970;
}
</style>
<body>
<h1>
<?php echo($phpHeader); ?>
</h1>
<p>
<?php echo($phpFact1); ?>
<?php echo($phpFact2); ?>
<?php echo($phpFact3); ?>
<?php echo($phpFact4); ?>
<?php echo($phpFact5); ?>
<?php echo($phpFact6); ?>
<a href="index.php">Index</a> •
<a href="variables.php">Variables</a> •
<a href="functions.php">Functions</a> •
<a href="arrays.php">Arrays</a> •
<a href="objects.php">Objects</a> •
<a href="webConcepts.php">Web Concepts</a> •
<a href="database.php">Database</a>
</body>
</head>
</html>