From: "Curt Zirzow" <[EMAIL PROTECTED]>
change return to: return ($this->fp? true: false);
technically, internally the function is treated as function &stream_open(...)
and will convert the value to a boolean value as you were experiencing.
Dammit... I knew that whole "this method should return TRUE or FALSE" would come back to bite me on the ass... Thanks for the tip, it works now, of course.
---John Holmes...
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php