Re: [PHP] PHP as a shell script

2001-07-09 Thread bleythbe
There are... but I'm not sure what they are. If you build PHP _without_ any options, I believe you will get the binary. Read the documentation that comes with the source. It will show you the way. Ben Quoting Kevin Pratt [EMAIL PROTECTED]: Is there any special switches I have to pass to

Re: [PHP] sorting results of opendir()

2001-07-09 Thread bleythbe
Just store each $file into an array ($array[] = $file) and the sort($array). Works dandy = Ben Quoting kmurrah [EMAIL PROTECTED]: Greetings. I need to read the contents of a directory, sort it alphabetically, and display it i'm doing find on the reading and displaying, but can