메뉴 닫기

php url을 가져올때 특수문자 에러가 날 경우 (공백, #)

13 답변 글타래를 보이고 있습니다
  • 글쓴이
    • #6039 Reply
      Im.Code
      키 마스터
      • 토픽 23
      • 답변 0
      @imcode

      $customTitle = htmlspecialchars(urlencode(html_entity_decode(get_the_title(), ENT_COMPAT, 'UTF-8')), ENT_COMPAT, 'UTF-8');
      이런 식으로 1차적으로 URF-8로 바꿔서 한글 등의 오류를 없애주고 다음 줄에

      //공백 오류 변환
      $customTitle = str_replace( ' ', '%20', wp_title('',false));
      //# 오류 변환
      $customTitle = str_replace( '#', '%23', wp_title('',false));

      식으로 오류가 나는 특수문자들을 16진수 아스키 코드 (ASCII Code)로 바꿔주면 됨

    • #10053 Reply
      PeterIdeop
      • 토픽 18
      • 답변 351

      prednisone 60 mg daily prednisone medicine prednisone prescription drug
      https://prednisonet.online where can i get prednisone over the counter
      prednisone uk [url=https://prednisonet.com]50mg prednisone tablet[/url] prednisone over the counter australia

    • #10081 Reply
      Michaelgeorm
      • 토픽 18
      • 답변 351

      ivermectin 5 stromectol pills stromectol 3 mg tablet
      https://stromectolg.online stromectol pill
      buy stromectol [url=https://stromectolg.com]ivermectin lotion price[/url] ivermectin online

    • #10111 Reply
      Michaelgeorm
      • 토픽 18
      • 답변 351

      male erection pills best over the counter ed pills drugs for ed
      https://sildenafilg.com/ sildenafil price nz
      п»їerectile dysfunction medication [url=https://edpillsg.online]best pills for ed[/url] ed pills that really work

    • #10124 Reply
      Michaelgeorm
      • 토픽 18
      • 답변 351

      online canadian drugstore tadalafil without a doctor’s prescription canada ed drugs
      https://edpillsg.online how to cure ed
      where to buy stromectol online [url=https://stromectolg.online]ivermectin 2mg[/url] buy ivermectin uk

    • #10137 Reply
      Michaelgeorm
      • 토픽 18
      • 답변 351

      100mg sildenafil 1 pill sildenafil 50 sildenafil 20 mg buy online
      https://stromectolg.online ivermectin 1 cream
      tadalafil without a doctor’s prescription [url=https://gpillswithoutprescription.online]buy prescription drugs from canada[/url] prescription drugs canada buy online

    • #10151 Reply
      AlbertVutle
      • 토픽 18
      • 답변 351

      stromectol prices ivermectin for humans for sale – ivermectin cost canada
      http://stromectol1st.com/# ivermectin 3mg tablets price
      how much does ivermectin cost [url=http://stromectol1st.online/#]stromectol[/url] stromectol liquid

    • #10165 Reply
      AlbertVutle
      • 토픽 18
      • 답변 351

      ivermectin lotion cost stromectol – ivermectin oral 0 8
      http://stromectol1st.com/# ivermectin 1 cream generic
      stromectol over the counter [url=https://stromectol1st.com/#]stromectol for sale[/url] stromectol ivermectin tablets

    • #10176 Reply
      AlbertVutle
      • 토픽 18
      • 답변 351

      ivermectin 12 stromectol ivermectin for humans – ivermectin where to buy for humans
      http://stromectol1st.com/# ivermectin pills canada
      stromectol liquid [url=http://stromectol1st.online/#]stromectol for humans for sale[/url] ivermectin over the counter canada

    • #10199 Reply
      EdwinChark
      • 토픽 18
      • 답변 351

      Sumycin Toradol – canadian drugs pharmacies online
      https://canadarxfast.com/ hepatitis c virus (hcv)
      cvs online pharmacy [url=https://pharmfastd.com/]Tenormin[/url] canada pharma limited

    • #10216 Reply
      EdwinChark
      • 토픽 18
      • 답변 351

      pharmacy prescription cheap ed pills – Malegra FXT
      https://pharmfast24.com/ buy prescription drugs without doctor
      canadian pharmacy online viagra [url=https://pharmfast24.com/]Super Avana[/url] canadian pharmacy no prescription needed

    • #10234 Reply
      EdwinChark
      • 토픽 18
      • 답변 351

      canadian pharmacy viagra generic Terramycin – canadian pharmacy cialis
      https://canadarxfast.com/ vardenafil
      Viagra Super Active [url=https://pharmfast24.com/]drug stores near me[/url] Luvox

    • #10252 Reply
      EdwinChark
      • 토픽 18
      • 답변 351

      no prescription pharmacy internet pharmacy – canadian rx
      https://pharmfast24.com/ Epitol
      Artane [url=https://canadarxfast.com/]Levitra Soft[/url] canadian pharcharmy

    • #10264 Reply
      EdwinChark
      • 토픽 18
      • 답변 351

      discount pharmacy online cheap ed pills canada – Top Avana
      https://canadarxfast.com/ motion sickness
      Epitol [url=https://canadarxfast.com/]canadian pharcharmy onlinecanadian online pharmacy[/url] canadian online pharmacies

13 답변 글타래를 보이고 있습니다

태그: ,

'php url을 가져올때 특수문자 에러가 날 경우 (공백, #)'에 답변달기
코딩은 <pre></pre> & ``사용
, 코드 차단시 글 날아감 주의
글쓴이 정보:




이메일 구독 - Email Subs

최선을 다해 직접 만든 콘텐츠만 공유합니다.
We share the best content we have created.

이메일 구독 - Email Subs

최선을 다해 직접 만든 콘텐츠만 공유합니다.
We share the best content we have created.