I want create simple application php to upload and file manager on browser (design similar total commander, mediafire or dropbox).
It have some function:
Upload file
Create folder
Delete file
Enumerate
In phpMyAdmin 0.97, I can't running it on my localhost.
It show on my browser. Click this image to zoom on your screen.
Capture.PNG
On line 67, my script here:
PHP Code:
    $ip $_SERVER["REMOTE_ADDR"];
    if (
strlen($_SERVER["HTTP_X_FORWARDED_FOR"])) $ip $_SERVER["HTTP_X_FORWARDED_FOR"]; // using proxy
    
if ($ip == "::1"$ip "";
    
$islinux = !(strtoupper(substr(PHP_OS03)) === 'WIN');
    function 
getServerURL() {
        
$url = ($_SERVER["HTTPS"] == "on")?"https://":"http://";
        
$url .= $_SERVER["SERVER_NAME"]; // variável do servidor, $_SERVER["HTTP_HOST"] é equivalente
        
if ($_SERVER["SERVER_PORT"] != "80"$url .= ":".$_SERVER["SERVER_PORT"];
        return 
$url;
    } 
Or you can get it:
http://www.mediafire.com/view/?k743342a4yq1167
Sorry to my friend, my english is bad. Thanks all people