Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter kodiat

    (@kodiat)

    Above posting has a minor error, the correct one should be:


    $source = array("%3D20", "%3D%0D%0A");
    $target = array(" ", " ");
    $content = urldecode(str_replace($source, $target, urlencode($content)));

    Since ’20’ is not affected by urlencode() command

    Thread Starter kodiat

    (@kodiat)

    I found a temporary workaround, but it works for me:


    $source = array("%3D%32%30", "%3D%0D%0A");
    $target = array(" ", "");
    $content = urldecode(str_replace($source, $target, urlencode($content)));

    I put these lines before this line:


    $post_content = apply_filters('phone_content', $content);

Viewing 2 replies - 1 through 2 (of 2 total)