This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Sep 16th, 2013  |  syntax: None  |  size: 0.24 KB  |  views: 62  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. function _clean_response( &$response ) {
  2.                 $bad_encoding = array( "<sup>&", ";</sup>" );
  3.                 $good_encoding = array( "<sup>","</sup>" );
  4.                 $response = str_replace( $bad_encoding, $good_encoding, $response );
  5.         }
clone this paste RAW Paste Data