PHP 4.0 Bug #6733 Updated: Fatal error: Call to a member function on a non-object in FNAME.PHP on line xx

From: Date: Sat, 16 Sep 2000 20:44:59 +0000
Subject: PHP 4.0 Bug #6733 Updated: Fatal error: Call to a member function on a non-object in FNAME.PHP on line xx
Groups: php.dev 
Request: Send a blank email to php-dev+get-33352@lists.php.net to get a copy of this message
ID: 6733 Updated by: stas Reported By: supin@showermail.com Status: Feedback Bug Type: Scripting Engine problem Assigned To: Comments: What is in $shop_linkpage? Does that directory exist? Previous Comments: --------------------------------------------------------------------------- [2000-09-14 01:14:26] supin@showermail.com I use function DIR in version 4.0 is ok. And now i converting to new version 4.0.2 not happy it have error Exam code ...$d = dir("$shop_linkpage"); ...while ($file = $d->read()) { // error ... echo $file ...} ...$d->close(); // error Method of class $d (read,close) not work. why Help me please ... Thank you --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6733

« previous php.dev (#33352) next »