blob: 5b2c79ee55c17764f4ce7aeaf2df69b5958886b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<?php
if( isset( $_POST["paste"] && $_POST["paste"] != "" ) ) {
$paste = $_POST["paste"];
$id = dechex( crc32( $paste ) );
$fh = fopen( $id, "w" );
fwrite( $fh, $paste );
fclose( $fh );
header( "Location: http://p.of.je/$id" );
}
else {
header( "Location: http://p.of.je" );
}
?>
|