* 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!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to