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 | |
$users = array( | |
"user1" => "hash", | |
"user2" => "hash"); | |
?> |
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 | |
require_once('ListingAddUsers.php'); | |
if(isset($_POST["user"]) || isset($_POST["pass"])) | |
die("Missing user or password!"); | |
if($users[$_POST["user"]] != hash('sha256', $_POST["pass"])) | |
die("Incorrect user or 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<title>Cleanup Listing Add</title> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
if(document.location.protocol != "https:") { | |
var new_url = document.location.href.replace(/^http/, 'https'); |
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 | |
//Svick | |
//Smallman12q | |
//PD December 2010 | |
//Untested version | |
//Book Cleanup Listing | |
//Based on CreateCleanupListing.php | |
require_once 'pub/Settings.php'; |
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
#!/usr/bin/env python2.5 | |
# Copyright 2009-2010 bjweeks, MZMcBride, svick | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# This program is distributed in the hope that it will be useful, |