Re: Open Dir on Click

From: Date: Tue, 12 Sep 2000 16:02:29 +0000
Subject: Re: Open Dir on Click
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-16378@lists.php.net to get a copy of this message
Or you could do it by hand with: <?php $handle=opendir('.'); echo "Directory handle: $handle\n"; echo "Files:\n"; while (($file = readdir($handle))!==false) { echo "$file\n"; } closedir($handle); ?> Lifted from the php manual! David. ----- Original Message ----- From: Thomas, Gregory (NBC, KNBC) <gregory.thomas@nbc.com> To: 'Web Admin' <webadmin@morva.net>; <jenhwi@visto.com>; <php-general@lists.php.net> Sent: Tuesday, September 12, 2000 4:49 PM Subject: RE: [PHP] Open Dir on Click > > > > -----Original Message----- > > From: Web Admin [mailto:webadmin@morva.net] > > Sent: Tuesday, September 12, 2000 7:27 AM > > To: jenhwi@visto.com; php-general@lists.php.net > > Subject: Re: [PHP] Open Dir on Click > > > > > > hi, > > I once saw this in messages, i didn't know if it's answered or > > not, but just put no [index.html, index.php, index.php3,... > > and any file which is defined as directory index in your httpd.conf.] > > in your directory, it will be opened automatically using this > > <a href=http://www.yourhost.com/directorty>Click > > Here</a> > > > > If you mean ftp, just > > <a href=ftp://ftp.yourhost.com> click here > > </a> and that's all! > > > > > As long as Options Indexes is set for the directory. > > Greg > > > Because e-mail can be altered electronically, > the integrity of this communication cannot be guaranteed. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#16378) next »