You would do it just like you would if you were outputing to the browser
look up the following:
dir, fopen and fwrite.
Just be looking at the examples and user comments you will have all the
source you need
Andrew
- Original Message -
From: "Carlos Fernando Scheidecker Antunes" <[EMAIL PR
* Todd Cary ([EMAIL PROTECTED]) [Dec 31. 2001 11:32]:
> I would like to present the surfer with a list of files in a directory
> (I'll probably put then into a drop-down) and then I want to send the
> file to the surfer if one is selected. I am not sure of the syntax to
> 1) List the files in a
On 8/21/2001 11:42 AM this was written:
> I am trying to find a way to list files alphabetically.
Try putting the filenames into an array and sort the array.
--
Thomas Deliduka
IT Manager
-
New Eve Media
The Solution To Your Internet Angst
http://www.neweve.com/
store all the names in an array and then sort that using an inbuilt php
function, maybe.
- seb
-Original Message-
From: Martin E. Koss [mailto:[EMAIL PROTECTED]]
Sent: 21 August 2001 16:43
To: [EMAIL PROTECTED]
Subject: [PHP] Listing files from a directory
I am trying to find a way to
You can use http://php.net/fstat to get more info about the files you see
from dir/read and http://php.net/sort to sort them.
You could use http://php.net/exec("ls -als", $results, $error) to get files
sorted.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music?
5 matches
Mail list logo