Re: How do I return the error

From: Date: Wed, 28 Jul 2004 18:41:50 +0000
Subject: Re: How do I return the error
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-192108@lists.php.net to get a copy of this message
* Thus wrote Matthew Oatham: > what about returning the error the copy function would have thrown ? * turn display_errors off: ini_set('display_errors', false); * turn track_errors on: ini_set('track_errors', true); if (! copy(...) ) { echo "copy failed: $php_errormsg"; } Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the trapezoid!

« previous php.general (#192108) next »