Fixing failure of regular expression functions on GoDaddy
Regular expression functions in PHP, such as preg_replace and preg_match, fail on GoDaddy web hosting when the string involved is large. The solution is to use multibyte functions. So, for example, you can replace preg_replace with: function my_preg_replace($pattern, $replacement, $target){ … Continue reading →