Zend - The PHP Company




Code Gallery: phpie


File and dir listing into tables, with download support  

Type: application
Added by: phpie
Entered: 24/08/2001
Last modified: 08/12/2001
Rating: **** (12 votes)
Views: 18316
The function of this script is to distinguish wether the returned array is a file or directory, if it is a file, it generates a link to download the file, otherwise if it's a dir, it creates a link to list the files/dirs in that directory, works on windows and *nix platforms.


Implementing PHP into console with readline  

Type: code fragment
Added by: phpie
Entered: 17/02/2002
Last modified: 03/12/2001
Rating: - (fewer than 3 votes)
Views: 4861
Some simple functions to handle data for those wanting to write php console scripts with readline, with an example for adding colour to your scripts too.




Search