By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,729 Members | 1,386 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,729 IT Pros & Developers. It's quick & easy.

Automated Filelist.

P: n/a
Hi!

I want to build a PHP-Site, wich lists some downloadable files in some
directories from our internet server.

Can anyone tell me some hints, to build such a page?

It would also be fine, if i could generate a description to the download,
which is generated from the filenames.

Thanks and kind greetings,
Christian.

Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a

On 24-Oct-2003, "Christian-Josef Schrattenthaler" <No****@Thank.You> wrote:
I want to build a PHP-Site, wich lists some downloadable files in some
directories from our internet server.

Can anyone tell me some hints, to build such a page?

It would also be fine, if i could generate a description to the download,
which is generated from the filenames.


This would be a good place to start:
http://www.php.net/manual/en/function.opendir.php

--
Tom Thackrey
www.creative-light.com
tom (at) creative (dash) light (dot) com
do NOT send email to ja*********@willglen.net (it's reserved for spammers)
Jul 17 '05 #2

P: n/a

"Christian-Josef Schrattenthaler" <No****@Thank.You> wrote in message
news:bn**********@newsreader1.netway.at...
Hi!

I want to build a PHP-Site, wich lists some downloadable files in some
directories from our internet server.

Can anyone tell me some hints, to build such a page?

It would also be fine, if i could generate a description to the download,
which is generated from the filenames.

Thanks and kind greetings,
Christian.


Dunno if this helps as I've not managed to use it yet - but when I compiled
my PHP I did a search for any php files that came with my tar ball - There
were many, including some "pear" scripts... If you take a look in your
ext/pear directory (if you installed using a tar ball, it will sit somewhere
in there) you should find a System.php file that has a class for dealing
with directories and files... Maybe that will help...
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.