blob: 5890c03dd33d76a33a9b17c5068955f56f19759a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<?php
include '../../copylib/util.php';
include './blog_lib.php';
$article = get($_GET['article']);
if (null == $article){
http_response_code(400);
echo "Bad request (no article specified)";
return;
}
session_start();
$payments = &pull($_SESSION, "payments", array());
$payments[$article] = array("ispayed" => true);
$fulfillment_url = url_rel("essay_fulfillment.php");
header("Location: $fulfillment_url");
die();
?>
|