View Single Post
  #7 (permalink)  
Old 02-05-2006, 10:28 PM
LG-2 LG-2 is offline
New Pligger
 
Join Date: Feb 2006
Posts: 15
Thanks: 0
Thanked 1 Time in 1 Post
Well I did my best on this thing. Has it's pros and cons... Pros are, gets rid of annoying errors and doesnt allow script to execute if bad URL. cons, whole page stops loading if the URL is broken or invalid. (Template stops loading)

Line 483 to 485

Quote:
error_reporting(E_ERROR);
// fetch
$this->_fp = fsockopen(($this->_protocol == 'https' ? 'tls://' : '') . $this->_host, $this->_port) or die("Invalid URL. Please go back and enter a non-broken and valid URL.");
Reply With Quote