►   ► 

, PHP

php ,

        24 . 2018      1      8247

php ,


.

:

$_SERVER['DOCUMENT_ROOT']





$_SERVER['REQUEST_URI']



$_SERVER['DOCUMENT_ROOT'] , , . .. httpd.conf DocumentRoot, "D:/main", $_SERVER['DOCUMENT_ROOT'] "D:main".

$_SERVER['REQUEST_URI'] , .

, , .

[php]
$filesize = filesize($file);
if($filesize> 4000) {
// 4000 ,
?>




[/php]





      

    *

     ,
      
    .