Reply to Re: Non-static method upload::isReadable() Problem

Re: Non-static method upload::isReadable() Problem new!
by colin, 17 years, 6 months ago
Yes, the same fix has to be applied to isWriteable().

The strange thing is that I don't have the problem with my version of PHP5, which is 5.1.2. I was damn sure that I tested the class on PHP4 and 5!
So maybe it is a PHP behaviour prior to 5.1.2

In any case, it is not right to define a static function within a class method, so I will change it. Let alone that both functions are used only once.

Can you update your version of PHP?

Which further problems the fix led to when you tried it?Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important