-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathallcellproviders.php
60 lines (45 loc) · 1.15 KB
/
allcellproviders.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php
//this page list info for the majority of
//cell providers. it gives the email address
//for each provider so that a text can
//be sent from email.
//gets it's info from allcellproviders.txt file
//20180407 km4ack
$page = $_SERVER['PHP_SELF'];
$sec = "60";
//include variables from config.php
include('/var/www/html/config.php');
?>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<title>Cell Provider List</title>
</head>
<body>
<div>
<h1><?php echo $callsign ?> Emergency Email Server<br>
<div id="pagelabel">Cell Provider LIST</div>
</h1>
<hr><br>
<?php echo "<h3><Strong>$utc UTC Time</strong></h3>" ?>
<?php echo "<h3><strong>$time Local Time</strong></h3>" ?>
</div>
<form action="mytext.php">
<input type="submit" value="Go Back" style="height:35px; width:100px"/>
<br>
<div>
<?php
// echo file_get_contents( "rmslist.txt" ); // get the contents, and echo it out.
$file = fopen("allcellproviders.txt","r");
while(! feof($file))
{
echo fgets($file). "<br />";
}
fclose($file);
?>
<br>
<br>
</div>
<form action="mytext.php">
<input type="submit" value="Go Back" style="height:35px; width:100px"/>