All things relative to everyday programming and DBA practices, This blog will not give you the ET staff, just little remindings about how things work. Subjects are relative to databases, programming, Linux, Windows and ... you name it.
I used to have a notepad onto which I put down anything I thought I might need again. Hopefully this is going to be as good as the paper with the added value of being able to paste from.

Monday, 23 April 2007

PHP: Directory Listing

Here is a snipper I use to get the contents of a directory. I have many times searched the WEB -- and my files -- for similar functionality so I thought I might put it here to save me the the next searches. The PHP manual for opendir that contains similar code can be found here.

No comments
:

About Me

A programmer by hobby and profession, My interests include WEB programming using JSP's, JSF and PHP. Since my student days I have grown to like "Borland's" compilers and IDEs so desktop programming with Delphi and C++ Builder is among my interests. (Now, I look forward to the day I will start a project with lazarous)
My work duties involved programming with SAP's built in ABAP language, so you may find some little things about SAP programming here. My favourite OS is Linux (I used openSUSE and SLES both at home and at work, but since 2008 I started working with two Red Hat clones, CentOS and Oracle Enterprise Linux while I changed my personal computers OS to fedora).
I am α strong supporter of open source software.
I am also interested in Databases and database programming. My main database is (was) Oracle, though I try to keep in touch with MySQL as well