decode or encript URL in PHP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sundarprakash
    New Member
    • Apr 2010
    • 2

    decode or encript URL in PHP

    I have a link mentioned below...
    Laacib Soomaaliyeed oo wacdaro ka dhigaya Scotland…..!!!! (Sawiro)
    it has some " ' " and " ! "...
    SO the page not found error occures..
    Please let me know the exact code or function to retrieve the pbm
    by
    sundar
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    Hey.

    What link are you talking about?

    If you are adding a value to the query string (e.g. example.com?key=my_value) the value can, and should, be run through the urlencode function once (and only once) before it is added to the query string.

    Comment

    • sundarprakash
      New Member
      • Apr 2010
      • 2

      #3
      URL decode in php

      Hi,
      I want to encode my URL, have given below..

      <?php print ($urlnode) ?>

      I am having some URL that contains ' single quote ' which
      displays error on page that is "Page Not Found"
      so I want to decode my URL that overcomes that error and display page successfully...
      thanks
      sundar

      Comment

      Working...