D
D
DR_Demons2015-07-19 16:58:45
PHP
DR_Demons, 2015-07-19 16:58:45

What is the actual size of the directory?

Hi all! I came across such a strange thing (but maybe not) I needed to find out the size of the folder, I used the du command and

got
20f0d551302d4414bae10c6bccc0a8d4.png
, then selected folder properties, and
there
ce4a92b8aa0b4b6e8ab9c7da8642dfa3.png

Why do these tools show different sizes and which one is correct?
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
C
Cat-in-code, 2018-12-03
@Mesuti

<?php

if (isset($_POST['phone'])){
  $zapros1 = " and 'phone' IN ('".$_POST['phone']."')";
} else {$zapros1="";}

if (isset($_POST['dateadd'])){
  $zapros1 = " and 'dateadd' IN ('".$_POST['dateadd']."')";
} else {$zapros2="";}
        
if (isset($_POST['name'])){
  $zapros1 = " and 'name' IN ('".$_POST['name']."')";
} else {$zapros3="";}

if (isset($_POST['place'])){
  $zapros1 = " and 'place' IN ('".$_POST['place']."')";
} else {$zapros4="";}

$foolzapros="WHERE ".$zapros1.$zapros2.$zapros3;

etc. according to the text.
But in general, also look at the fact that you do not add $zapros4 to $foolzapros, do not use the $text variable and be sure to:
https://habr.com/post/148151/

D
Decadal, 2018-12-03
@Decadal

if ($phone){
    $zapros1 = " and `phone` IN ($phone)";

I wonder where phone could come from here? Where do you use these parameters of yours that you specified in the form? where $phone = $_POST['phone'] ?? null;
where is it all? php does not work as you wrote.

E
Ergil Osin, 2015-07-19
@DR_Demons

And they are the same.
In one case GiB, and in the other Gb.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question