Non-static method upload::isReadable()

See all posts See thread Reply

Re: Non-static method upload::isReadable() Problem new!
by colin, 17 years, 7 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