Skip to content

Commit 8fe021e

Browse files
committed
Sanitized database credentials
1 parent b6b48bc commit 8fe021e

File tree

7 files changed

+73
-9
lines changed

7 files changed

+73
-9
lines changed

#README.md#

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
CS147
2+
=====
3+
4+
This is the repository for content for CS147, Fall 2012.
5+
6+
* 1 - Forms
7+
8+
Covers forms, input types, form submission methods (GET/POST)
9+
10+
* 2 - Login
11+
12+
Covers authentication using a database. Provides wireframes for sessions.
13+
14+
* 3 - Map
15+
16+
Covers Google Maps and geolocation using a supported browser. May require Firefox instead of Chrome for local use (though everything is fine uploaded to a remote server).
17+
18+
* 4 - Databases
19+
20+
A mock app that lets a user choose a movie and have it display automatically using AJAX.
21+
22+
* 5 - Facebook
23+
24+
Accompanies the vimeo video 31285445 and integrates Facebook's OAuth authentication into a sample webapp.
25+
26+
* 6 - Foursquare
27+
28+
Provides a rudimentary framework for accesing the Venues platform on the Foursquare API using latitude and longitude. It does not require user authentication as the data isn't relevant to a specific user. Includes an example of json_decode.
29+
30+
* 7 - HTML5 Audio
31+
32+
Demonstrates audio playback in mp3 and ogg formats. This is stripped down version of the Simple HTML5 Audio Player from Envato and is mobile-friendly.

.DS_Store

6 KB
Binary file not shown.

2 - Login/.DS_Store

6 KB
Binary file not shown.

2 - Login/config.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
2-
$host = "p41mysql141.secureserver.net";
3-
$user = "inwedayforum";
4-
$pass = "Alohario1005";
5-
$mysql_database = "inwedayforum";
2+
$host = "";
3+
$user = "";
4+
$pass = "";
5+
$mysql_database = "";
66

77
$link = mysql_connect($host, $user, $pass);
88
if (!$link) {

4 - Databases/config.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
2-
$dbHost = "mysql.cs147.org";
3-
$dbUser = "rakasaka";
4-
$dbPass = "sU#maGFJ";
5-
$dbDatabase = "rakasaka_mysql";
2+
$dbHost = "";
3+
$dbUser = "";
4+
$dbPass = "";
5+
$dbDatabase = "";
66
$db = mysql_connect("$dbHost", "$dbUser", "$dbPass") or die ("Error connecting to database.");
77
$db_found = mysql_select_db("$dbDatabase", $db) or die ("Couldn't select the database.");
88
?>

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,8 @@ Accompanies the vimeo video 31285445 and integrates Facebook's OAuth authenticat
2525

2626
* 6 - Foursquare
2727

28-
Provides a rudimentary framework for accesing the Venues platform on the Foursquare API using latitude and longitude. It does not require user authentication as the data isn't relevant to a specific user. Includes an example of json_decode.
28+
Provides a rudimentary framework for accesing the Venues platform on the Foursquare API using latitude and longitude. It does not require user authentication as the data isn't relevant to a specific user. Includes an example of json_decode.
29+
30+
* 7 - HTML5 Audio
31+
32+
Demonstrates audio playback in mp3 and ogg formats. This is stripped down version of the Simple HTML5 Audio Player from Envato and is mobile-friendly.

README.md~

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
CS147
2+
=====
3+
4+
This is the repository for content for CS147, Fall 2012.
5+
6+
* 1 - Forms
7+
8+
Covers forms, input types, form submission methods (GET/POST)
9+
10+
* 2 - Login
11+
12+
Covers authentication using a database. Provides wireframes for sessions.
13+
14+
* 3 - Map
15+
16+
Covers Google Maps and geolocation using a supported browser. May require Firefox instead of Chrome for local use (though everything is fine uploaded to a remote server).
17+
18+
* 4 - Databases
19+
20+
A mock app that lets a user choose a movie and have it display automatically using AJAX.
21+
22+
* 5 - Facebook
23+
24+
Accompanies the vimeo video 31285445 and integrates Facebook's OAuth authentication into a sample webapp.
25+
26+
* 6 - Foursquare
27+
28+
Provides a rudimentary framework for accesing the Venues platform on the Foursquare API using latitude and longitude. It does not require user authentication as the data isn't relevant to a specific user. Includes an example of json_decode.

0 commit comments

Comments
 (0)