1 <title>Imagebin Reisub</title>
6 background-color: Cadetblue;
11 text-decoration: none;
24 border-bottom: 1px solid;
29 border-bottom: 1px solid;
38 <link rel="icon" href="https://reisub.nsupdate.info/imagebin/icon.png" type="image/png" />
39 <meta name="Author" lang="es" content="Reisub Informatica" />
40 <meta name="keywords" content="imagen, gif, png, jpg, upload, gallery, temporary, imagebin, temporal, argentina, reisub, server" />
41 <meta name="description" content="Galeria temporal, sube tu imagen y todos los 28 de cada mes se borraran del servidor." />
42 <!-- source code https://phpans.com/php-secure-image-upload/ -->
43 <!-- https://github.com/shred/phpminigallery -->
45 <img src="temporal_gallery.jpg" alt="temporal gallery image logo" width="500" height="300">
49 require_once "upload.class.php";
50 if(isset($_FILES['file'])) {
51 $origname = $_FILES['file']['name'];
52 $ext = explode(".", $origname);
53 $extension = end($ext);
54 $md5 = md5(time()).md5($origname);
55 $uplaodfile = md5($md5).'.'.$extension;
62 $uploader = new uploader($_FILES['file'],$dir.'/',$uplaodfile);
64 $ok = $uploader->getInfo();
67 $avatar = $dir . '/' . $uplaodfile;
68 $uploaded= $uploader->getInfo();
69 uploader::e($uploaded);
73 $uploaded = $uploader->getError();
74 uploader::e($uploaded);
82 <form method="post" enctype="multipart/form-data">
83 Seleccionar imagen para subir:
84 <input type="file" name="file" >
85 <input type="submit" value="Subir Imagen" name="submit">
92 <a href="https://reisub.nsupdate.info/imagebin/index_HD.php">Subir en Full HD</a><br>
94 Cada 28 de cada mes se borran los archivos.<br><br>
95 <a href="https://reisub.nsupdate.info/imagebin/upload/">Ver galeria</a>
98 Imagebin © 2020 Desde Junin, Buenos Aires, Argentina. Corriendo en Debian. <a href="https://reisub.nsupdate.info/reisub/">Donar a la causa.</a> - <a href="https://friendicarg.nsupdate.info/profile/fabianbonetti">Denunciar Imagen</a> - <a href="https://reisub.nsupdate.info/git/?a=project_list;pf=imagebin.git">Source Code</a>