[uploader] / fileok.php Repository:

View of /fileok.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (download) (annotate)
Mon Jan 1 15:25:20 2007 EST (3 years, 8 months ago) by jerome
File size: 433 byte(s)
Spaces -> Tabs

<?php
    header
("Cache-Control: no-cache, must-revalidate");
    
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
    
header("Content-Type: text/plain");

    include 
"include.php";

    
$uploadfile $_GET['uploadfile'];
    if(
file_exists($uploaddir $uploadfile)) {
    do {
            
$randfile rand();
            
$randfile $randfile "_" $uploadfile;
        } while(
file_exists($uploaddir $randfile));
    print 
"exists $randfile";
    } else {
    print 
"ok";
    }
?>

TiCPU
ViewVC Help
Powered by ViewVC 1.0.1