လက်ရှိတည်နေရာ: ပင်မစာမျက်နှာ> ဖန်ရှင်အမျိုးအစားများ> fileperms

fileperms

ဖိုင်ခွင့်ပြုချက်ရယူပါ
အမည်:fileperms
အမျိုးအစား:ဖိုင်စနစ်
programming language:php
တစ်ကြောင်းဖြင့်အကျဉ်းချုပ်:ခွင့်ပြုချက်ကိုဖိုင်သို့ပြန်သွားပါ။

နမူနာ

ဥပမာ 1

 <span class="token php language-php"><span class="token delimiter important"><? PHP</span>
<span class="token keyword">ECHO</span> <span class="token function">FilePerms</span> <span class="token punctuation">(</span> <span class="token string double-quoted-string">"test.txt"</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">></span></span>

ထုတ်လုပ်မှု -

 33206

ဥပမာ 2

ခွင့်ပြုချက်ကို octal တန်ဖိုးများအဖြစ်ပြန်ပို့ပါ။

 <span class="token php language-php"><span class="token delimiter important"><? PHP</span>
<span class="token keyword">ECHO</span> <span class="token function">Substrtf</span> <span class="token punctuation">(</span> <span class="token string double-quoted-string">% o</span> <span class="token punctuation">"</span> <span class="token punctuation">,</span> <span class="token punctuation">fileperms</span> <span class="token function">(</span> <span class="token punctuation">"</span> <span class="token string double-quoted-string">test.txt</span> <span class="token punctuation">"</span> <span class="token punctuation">)</span> <span class="token punctuation">,</span> <span class="token operator">-</span> <span class="token number">4</span> <span class="token function">)</span> <span class="token punctuation">,</span>
<span class="token delimiter important">></span></span>

ထုတ်လုပ်မှု -

 1777
သက်ဆိုင်သောဖင်ခှ်ရှင်းများ
  • ဖိုင်ကို http post မှတဆင့်တင်သည်ရှိမရှိဆုံးဖြတ်ပါ is_uploaded_file

    is_uploaded_file

    ဖိုင်ကိုhttppostမှတဆ
  • ဖိုင်တစ်ခုလုံးကို array ထဲသို့ဖတ်ပါ file

    file

    ဖိုင်တစ်ခုလုံးကိုarr
  • ပုံမှန်အကြွင်းမဲ့အာဏာလမ်းကြောင်းနာမကိုပြန်ပို့သည် realpath

    realpath

    ပုံမှန်အကြွင်းမဲ့အာဏ
  • ဖိုင် pointer အနေအထားကိုပြန်လှည့်ပါ rewind

    rewind

    ဖိုင်pointerအနေအထားက
  • ဖိုင်များသို့ပြောင်းလဲမှုများ (metadata အပါအ 0 င်) ကိုထပ်တူပြုခြင်း fsync

    fsync

    ဖိုင်များသို့ပြောင်း
  • stream_set_write_buffer အတွက် alias ကို set_file_buffer

    set_file_buffer

    stream_set_write_buf
  • Realpath cache entry ကိုရယူပါ realpath_cache_get

    realpath_cache_get

    Realpathcacheentryကိ
  • ဖိုင်များသို့ရေးရန် (binary files များတွင်လုံခြုံစွာအသုံးပြုသည်) fwrite

    fwrite

    ဖိုင်များသို့ရေးရန်(
လူကြိုက်များသော ဆောင်းပါးများ