blob: 40bd75e743681556e5ec28bef1c8bbac849cd233 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
<!DOCUMENT html
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
</head>
<body>
<?php
$paste = $_POST["paste"];
$id = dechex(crc32($paste));
$fh = fopen($id, "w");
fwrite($fh, $paste);
fclose($fh);
$out = "<p>Paste Added: <a href='http://p.of.je/$id'>http://p.of.je/$id</a></p>";
header("Location: http://p.of.je/$id");
?>
<p>
<a href="http://p.of.je/">Go Back</a>
</p>
</body>
</html>
|