Re: Listing files

From: Date: Mon, 31 Dec 2001 16:41:41 +0000
Subject: Re: Listing files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-79124@lists.php.net to get a copy of this message
* Todd Cary (todd@aristesoftware.com) [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 directory Using PHP 4.x? <http://www.php.net/manual/en/class.dir.php> > 2) Send a selected file to the surfer <http://www.php.net/manual/en/function.header.php> Scroll 3/4 down. > Many thanks for any help in getting the correct syntax to do this...... HTH -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 Avoid strange women and temporary variables.

« previous php.general (#79124) next »