Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- echo "Hello From /Users/username/Sites/ Folder!";
- phpinfo();
- ?>
- <?php
- date_default_timezone_set('UTC');
- $day = date('l');
- ?>
- <!doctype html>
- <html>
- <head>
- <title>Hello, World! | Foo</title>
- </head>
- <body>
- <h1>Hello, World!</h1>
- <p>Welcome to /Users/username/Sites/foo/index.html.</p>
- echo $greeting
- </body>
- </html
- <?php
- $greeting = 'Hello, PHP World!';
- echo '<h1>' . $greeting . '</h1>';
- ?>
- <?php
- include_once 'connectVPN.php';
- ?>
- <!DOCTYPE html>
- <html>
- <head>
- </head>
- <body>
- <script>
- function writeStatus() {
- var status = document.getElementById("status");
- status.innerHTML = "Welcome to PhoneGap Programming ... now
- you stepped in it.";
- }
- </script>
- <?php
- $sql = "SELECT * FROM MySQLtable;";
- $result = mysqli_query($conn, $sql);
- $resultCheck = mysqli_num_rows($result);
- if ($resultCheck > 0) {
- while ($row = mysqli_fetch_assoc($result)) {
- echo $row['IndTCversion']
- }
- }
- ?>
- </body>
- </html>
- <?php
- $servername = "198.IP.num.ber";
- $username = "dbaseuser";
- $password = "dbpassword";
- $dbname = "wwwdbname";
- // Create connection
- $conn = mysqli_connect($servername, $username, $password, $dbname);
- // Check connection
- if ($conn->connect_error) {
- die("Connection failed: " . $conn->connect_error);
- }
- echo "Connected successfully";
Add Comment
Please, Sign In to add comment