Re: Strange destructor => Here is an answer
| From: | Marcel Bariou | Date: | Wed, 13 Feb 2002 20:15:01 +0000 |
| Subject: | Re: Strange destructor => Here is an answer | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-852@lists.php.net to get a copy of this message | ||
I answer to myself , I look to destructor in mailing list and I've found some
information.
According to the mailing list, the destructor needs to have absolute path to
file. So for my linux box I give the path as :
"/usr/local/apache/htdocs/testfile" instead of "testfile"
$fileobj =& new FileContainer("/usr/local/apache/htdocs/testfile");
And it works now.
Question is that a bug from PHP, APACHE or PEAR ? :-)
Thanx
Marcel