folderblog
What is folderblog?
Folderblog is a free PHP script that automatically displays the images placed in a given directory, no database needed. It can be used as a blog or gallery — and anything in between.

» demo blog   » learn more   » download now

Discussion
GLOB_ONLYDIR and PHP before 4.3.2(back to index)
I've installed folderblog as instructed and am getting the following error

Notice: Use of undefined constant GLOB_ONLYDIR - assumed 'GLOB_ONLYDIR' in folderblog\fb.php on line 202

I've looked on the web and seen this comment on the php site,

Note: Before PHP 4.3.3 GLOB_ONLYDIR was not available on Windows and other systems not using the GNU C library.

My server is running PHP: 4.3.2, is there a work around for this or do I need at least 4.3.

Regards,
Lee
posted by Lee on 9 Aug 05 at 8:58 AM
If your server is running Windows, you need at least 4.3.3 (precisely because of the GLOB_ONLYDIR support). It should work on 4.3.2 on most other systems.
posted by donald on 19 Aug 05 at 1:33 AM
Post a Reply:

Name:    Remember me
URL:    
(include http:// or mailto:)
(back to index)