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

addslashes

backslash ကိုအသုံးပြုပြီးကြိုးမှထွက်ပြေး
အမည်:addslashes
အမျိုးအစား:ကြိုး
programming language:php
တစ်ကြောင်းဖြင့်အကျဉ်းချုပ်:ကြိုတင်သတ်မှတ်ထားသောစာလုံးများမတိုင်မီ backslash ကိုထပ်ထည့်သော string ကိုပြန်ပို့သည်။

အဓိပ္ပါယ်နှင့်အသုံးပြုမှု

addslashes() function ကို function ကိုကြိုတင်သတ်မှတ်ထားသောဇာတ်ကောင်များမတိုင်မီကျောထောက်နောက်ခံထပ်ဖြည့်စွက်သော string ကိုပြန်ပို့ပေးသည်။

ကြိုတင်သတ်မှတ်ထားသောစာလုံးများ -

  • တစ်ခုတည်းကိုးကား (')
  • နှစ်ဆကိုးကား (")
  • backslash (\)
  • တရားစွာလဲှ

ထိပ်ဖ်ား: ဒီ function ကိုဒေတာဘေ့စ်နှင့်ဒေတာဘေ့စ်စုံစမ်းမှုထုတ်ပြန်ချက်များတွင်သိုလှောင်ထားသည့်ကြိုးများအတွက်ကြိုးများကိုပြင်ဆင်ရန်အသုံးပြုနိုင်သည်။

မှတ်ချက် - ပုံမှန်အားဖြင့် PHP သည် addslashes() အလိုအလျောက်ဖွင့်သည်, ဒါကြောင့်သင်ဟာ addslashes() မသုံးသင့်ဘူး, ဤကိစ္စတွင်, သင်ရှာဖွေတွေ့ရှိရန် get_magic_quotes_gpc () function ကိုသုံးနိုင်သည်။

သဒ္ဒါ

 addslashes ( string )
တေးရေး ဖေါ်ပြ
ကြိုး လိုအပ်ပါတယ် လွတ်မြောက်ရန် string ကိုဖေါ်ပြသည်။
သက်ဆိုင်သောဖင်ခှ်ရှင်းများ
  • 1-bit string ကိုကိုးကားချက်များနှင့်အတူပုံနှိပ်ထုတ်လွှင့် string ကိုကူးပြောင်း quoted_printable_encode

    quoted_printable_encode

    1-bitstringကိုကိုးကာ
  • ယုတ္တိဖြစ်သောဟေဗြဲဘာသာကို Visual-Hebrew သို့ပြောင်းရန်နှင့်အသစ်များပြောင်းလဲပါ hebrevc

    hebrevc

    ယုတ္တိဖြစ်သောဟေဗြဲဘာ
  • ငွေကြေး strings သို့နံပါတ်များကို format လုပ်ပါ money_format

    money_format

    ငွေကြေးstringsသို့နံ
  • string ကိုအစမှနေရာများ (သို့မဟုတ်အခြားအက္ခရာများ) ကိုဖယ်ရှားပါ ltrim

    ltrim

    stringကိုအစမှနေရာမျာ
  • Metacharacter အစုံလွတ်မြောက် quotemeta

    quotemeta

    Metacharacterအစုံလွတ
  • ဒီဂျစ်တယ် format အချက်အလက်ကိုရယူပါ localeconv

    localeconv

    ဒီဂျစ်တယ်formatအချက်
  • string ကို encode လုပ်ဖို့ uuencode ကိုသုံးပါ convert_uuencode

    convert_uuencode

    stringကိုencodeလုပ်ဖ
  • ဖိုင်၏ sha1 hash တန်ဖိုးကိုတွက်ချက်ပါ sha1_file

    sha1_file

    ဖိုင်၏sha1hashတန်ဖို
လူကြိုက်များသော ဆောင်းပါးများ