Initial commit
Added all teh code and added a zipped version in Foiles, release zip's go in there
Added Readme motherF**ers
Changed code folder name
[from now] 2013/11/10 16:26:54

diff --git a/Enter if you dare/background.png b/Enter if you dare/background.png
deleted file mode 100644
index ddbc05f..0000000
Binary files a/Enter if you dare/background.png and /dev/null differ
diff --git a/Enter if you dare/captcha.php b/Enter if you dare/captcha.php
deleted file mode 100644
index cebfeb3..0000000
--- a/Enter if you dare/captcha.php
+++ /dev/null
@@ -1,31 +0,0 @@
-<?php
-
-session_start();
-
-$string = '';
-
-$swears = array(
-	"shit"
-);
-$censoredStrings = array(
-    "shit" => "sh**"
-);
-
-// DO NOT TOUCH anything below here
-$string = $swears[array_rand($swears)];
-
-$_SESSION['rand_code'] = $string;
-
-$dir = 'fonts/';
-
-$image = imagecreatefrompng('background.png');
-$black = imagecolorallocate($image, 0, 0, 0);
-$color = imagecolorallocate($image, 200, 100, 90); // red
-$white = imagecolorallocate($image, 255, 255, 255);
-
-imagettftext ($image, 30, 0, 20, 40, $color, $dir."arial.ttf", $censoredStrings[$_SESSION['rand_code']]);
-
-header("Content-type: image/png");
-imagepng($image);
-
-?>
\ No newline at end of file
diff --git a/Enter if you dare/contact.php b/Enter if you dare/contact.php
deleted file mode 100644
index 6acc117..0000000
--- a/Enter if you dare/contact.php
+++ /dev/null
@@ -1,79 +0,0 @@
-<?php
-
-session_start();
-
-if(isset($_POST['submit'])) {
-
-	if(!empty($_POST['code'])) {
-
-		if($_POST['code'] == $_SESSION['rand_code']) {
-
-			// send email
-			$accept = "Thank you for contacting me.";
-
-		} else {
-
-			$error = "Please verify that you typed in the correct code.";
-
-		}
-
-	} else {
-
-		$error = "Please enter the captcha.";
-
-	}
-
-}
-
-?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<title>CussCha Test Form</title>
-<style type="text/css">
-form {
-	margin:0;
-	padding:0;
-}
-input {
-	padding:2px;
-	width:200px;
-}
-textarea {
-	padding:2px;
-	width:200px;
-	height:100px;
-}
-.button {
-	width:60px;
-}
-p {
-	margin:0 0 5px 0;
-	padding:0;
-}
-.error {
-	color:#FF0000;
-	margin:0 0 10px 0;
-}
-.accept {
-	color:#339966;
-	margin:0 0 10px 0;
-}
-</style>
-</head>
-
-<body>
-
-<?php if(!empty($error)) echo '<div class="error">'.$error.'</div>'; ?>
-<?php if(!empty($accept)) echo '<div class="accept">'.$accept.'</div>'; ?>
-
-<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" enctype="multipart/form-data">
-    <h1>CussCha!</h1>
-	<img src="captcha.php"/>
-	<p><input type="text" name="code" /> What cuss is this?</p>
-    <p><input type="submit" name="submit" value="Send" class="button" /></p>
-</form>
-
-</body>
-</html>
\ No newline at end of file
diff --git a/Enter if you dare/fonts/arial.ttf b/Enter if you dare/fonts/arial.ttf
deleted file mode 100644
index ab68fb1..0000000
Binary files a/Enter if you dare/fonts/arial.ttf and /dev/null differ
Added to do file, updated readme.
Updated readme download link.
Cleaned up design, and prettified code slightly
Merging redesign and code layout cleanup with master branch
Added a new stable(ish) release. Changed file structures. Added some things to do.
Fixed formatting in to do list.
Minor readme change.
Merge pull request #1 from Dan-E/master

Restructuring, formatting, and design.
Added links to twitter profiles in README
Updated TODO
Updated readme with new example code, updated test form to bootstrap.
[from now] 2013/11/11 01:41:38

diff --git a/public/contact.html b/public/contact.html
deleted file mode 100644
index 9a9ae95..0000000
--- a/public/contact.html
+++ /dev/null
@@ -1,51 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-	<head>
-		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-		<title>CussCha Test Form</title>
-		<link rel="stylesheet" type="text/css" href="assets/css/bootstrap.min.css">
-		<style type="text/css">
-			body{
-				padding-top:5%;
-				text-align:center;
-			}
-			form {
-				margin:0;
-				padding:0;
-			}
-			input {
-				width:200px;
-			}
-			.button {
-				width:75px;
-			}
-			.form{
-				width:250px;
-			}
-			.alert{
-				width:275px;
-				text-align:center;
-			}
-		</style>
-	</head>
-	<body>
-
-		<form class="form-inline" role="form" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" enctype="multipart/form-data">
-			<div class="form-group">
-				<h1>CussCha!</h1>
-				<img src="captcha.php"/>
-				<p>What cuss is this?</p>
-				<p><input class="form form-control" type="text" name="code" /></p>
-		    	<p><button type="submit" name="submit" class="button btn btn-primary">Submit</button></p>
-		    </div>
-		</form>
-
-		<div class="alert alert-danger error">
-			Please verify that you typed in the correct code.
-		</div>
-		<div class="alert alert-success accept">
-			Thank you for contacting me.
-		</div>
-
-	</body>
-</html>
\ No newline at end of file
Modified TODO, added loading from JSON. Fixed some other stuff
Updated example code, added settings php file, added captcha checker file
[from now] 2013/11/11 03:59:12

diff --git a/public/test.php b/public/test.php
deleted file mode 100644
index 7436c7d..0000000
--- a/public/test.php
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-
-echo (file_get_contents('http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['SCRIPT_NAME']) . '/captcha.php?checkCaptcha=shit'));
\ No newline at end of file