3234
By: we2 | Date: Nov 10 2007 14:41 | Format: PHP | Expires: never | Size: 1.04 KB | Hits: 1495
- <?php
- @include("include/config.inc.php");
- $section = "Upload";
- @include($headerlayout);
- if($_POST[action]){
- $filename = "";
- if ($HTTP_POST_FILES['userfile']['tmp_name']<> 'none'){
- $file = $HTTP_POST_FILES['userfile']['name'];
- $temp = $HTTP_POST_FILES['userfile']['tmp_name'];
- $filename = $time . "." . $path_parts["extension"];
- $dest = $path.$filename;
- {
- echo 'Not accepted file extension!';
- }
- else {
- echo 'check out your file <a href="show.php">here</a> ';
- }
- }
- } else {
- ?>
- <form method="post" enctype="multipart/form-data" action="<?php echo $PHP_SELF ?>">
- <input type="hidden" name="MAX_FILE_SIZE" value="40000000">
- <br><strong>Regards <a href="http://www.ownageworld.net">OwnageWorld</a> !</strong><br><br>
- <input name="userfile" type="file" size=40><br><br>
- <input type="submit" name="action" value="Speichern">
- </form>
- <? }
- @include($footerlayout);
- ?>
Latest pastes
1 days ago
2 days ago
2 days ago
2 days ago
2 days ago