This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
session_start(); | |
// if(!isset($_SESSION['user_id'])){ | |
// die('you need to login'); | |
// }else{ | |
?> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns = "http:///www.w3.org/1999/xhtml"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if(!$_SESSION){ | |
session_start(); | |
} | |
$hostName='157.201.194.254'; | |
$userName = "jdoggett"; | |
$password = ''; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if(!$_SESSION){ | |
session_start(); | |
} | |
$hostName='157.201.194.254'; | |
$userName = "jdoggett"; | |
$password = ''; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use jdoggett; | |
TEE database.log | |
SELECT 'STUDENTS' AS "Drop Table"; | |
DROP TABLE IF EXISTS students; | |
SELECT 'STUDENTS' AS "Create Table"; | |
CREATE TABLE students |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.kartchner.assignment07; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; | |
import java.util.ArrayList; | |
import java.util.List; | |
import javax.servlet.ServletConfig; | |
import javax.servlet.ServletException; |