- ereg_replace() is deprecated, replace with call to preg_replace() - disable output buffer when downloading database dump - don't cache output in variable (avoid memory overflow)