Zend - The PHP Company




Code Gallery: gleghorn


preform.php  

Type: code fragment
Added by: gleghorn
Entered: 06/03/2001
Last modified: 03/12/2000
Rating: - (fewer than 3 votes)
Views: 3942
I use this to make my windows 2000 Internet explorer bookmarks available from a webpage. This code is very basic and will require modification to be of use elsewhere (I make specific references to my filesystem layout). The linux box mounts two w2k drives as /mnt/gleghorn/khome and /mnt/gleghorn/favs, a miscellaneous area and my MSIE bookmarks respectively. The code refers to preform.phps. This is just a symbolic link to preform.php I specify preform.php as the last in the apache DirectoryIndex list, followed by index.html, default.html etc. When browsing either of the two mounted drives, if invoked by the absence of anything else indexy, it scans the directories and pretty-prints what it finds. Any MSIE-style *.url files are written out human-readable and clickable. hash include standard disclaimer




Search