diff options
author | Phil Burton <philbeansburton@gmail.com> | 2013-02-15 12:32:26 +0000 |
---|---|---|
committer | Phil Burton <philbeansburton@gmail.com> | 2013-02-15 12:32:26 +0000 |
commit | da591d0326a826b4a5c7bede5e06dc3e453d4a79 (patch) | |
tree | 13e729564ff9ad9c6599c8cc6e46dcd1b3fa88e5 /submit.php | |
parent | 5b70dd6a30b16aa42602e4c22a50de820b13a1b7 (diff) |
MINIKEEEEEEEEEEEEEEEEEEEEEN\! fixed the indentation of braces etc
Diffstat (limited to 'submit.php')
-rwxr-xr-x | submit.php | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -1,14 +1,13 @@ <?php - if(isset($_POST["paste"] && $_POST["paste"] != "" ) ) { + 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"); + $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"); + else { + header( "Location: http://p.of.je" ); } ?> |