playing chess

Handy PHP bits

April 8, 2006
You might also like:
  • Coumputer Arts Source Files
  • Drag Slide Fade 2.0 Class Library
  • Flash In The Can 2004
  • Other content in Take this code, randomly found things on my Tumblr or try following me on Twitter

    Comment

    Over the years I’ve found these little bits of PHP, hacked together from various sources, quite handy.

    PHP - List files in a directory
    This script will look into a directory and return a comma delimited string of all the user specified files. Can be used with Flash etc.

    PHP - List files in a directory (XML version)
    As above but returns a much nicer XML output.

    PHP - URL Parser
    Parses a url - useful for using with Flash to get info from another domain when no cross domain policy file exists.

    Popularity: 37% [?]