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

stripslashes

တစ်ခုထွက်ပြေးလွတ်မြောက် string ကိုထုတ်ဖော်ပြသခဲ့သည်
အမည်:stripslashes
အမျိုးအစား:ကြိုး
programming language:php
တစ်ကြောင်းဖြင့်အကျဉ်းချုပ်:addslashes () function ကိုမှထည့်သွင်း backslash ဖယ်ရှားပေးသည်။

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

stripslashes() function ကို function addslashes() function မှထည့်သွင်း backsashes ဖျက်ပစ်။

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

နမူနာ

backslash ဖယ်ရှားပါ

 <? PHP
ECHO stripslashes ( "Bill Gates?" ) ;
>

သင်ကိုယ်တိုင်စမ်းကြည့်ပါ

သဒ္ဒါ

 stripslashes ( string )
တေးရေး ဖေါ်ပြ
ကြိုး လိုအပ်ပါတယ် စစ်ဆေးခံရဖို့ string ကိုဖေါ်ပြသည်။
သက်ဆိုင်သောဖင်ခှ်ရှင်းများ
  • ယုတ္တိ - ဟေဗြဲဘာသာကိုအမြင်အာရုံ - ဟေဗြဲဘာသာပြောင်းပါ hebrev

    hebrev

    ယုတ္တိ-ဟေဗြဲဘာသာကိုအ
  • ဒေသဆိုင်ရာသတင်းအချက်အလက် setting setlocale

    setlocale

    ဒေသဆိုင်ရာသတင်းအချက်
  • Locale Settings အပေါ်အခြေခံပြီးကြိုးများနှိုင်းယှဉ် strcoll

    strcoll

    LocaleSettingsအပေါ်အ
  • string တွင်အသုံးပြုသောစကားလုံးများနှင့်ပတ်သက်သောသတင်းအချက်အလက်များကိုပြန်ပို့ပါ str_word_count

    str_word_count

    stringတွင်အသုံးပြုသေ
  • htmlspecialchars () နှင့် htmlenties () ကိုအသုံးပြုပြီးနောက်ပြောင်းလဲခြင်းစားပွဲကိုပြန်ပို့သည် () get_html_translation_table

    get_html_translation_table

    htmlspecialchars()နှ
  • Binary Safe နှိုင်းယှဉ်မှု string ကို (သတ်မှတ်ထားသောအရှည်ကို offset အနေအထားနှင့်နှိုင်းယှဉ်ပါ) substr_compare

    substr_compare

    BinarySafeနှိုင်းယှဉ
  • အထူး HTML အဖွဲ့အစည်းများကိုပုံမှန်ဇာတ်ကောင်များသို့ပြန်သွားပါ htmlspecialchars_decode

    htmlspecialchars_decode

    အထူးHTMLအဖွဲ့အစည်းမျ
  • ကြိုးများ၌အလွှာများ၏ပထမ ဦး ဆုံးဖြစ်ပျက်မှုကိုရှာပါ strpos

    strpos

    ကြိုးများ၌အလွှာများ၏
လူကြိုက်များသော ဆောင်းပါးများ