Album Script

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
th3gh05t
Forum Newbie
Posts: 22
Joined: Tue Apr 20, 2004 11:52 pm

Album Script

Post by th3gh05t »

Hi,

I am looking for a script that will list all of the Albums that I have in a Windows folder, and all of the files in that folder, and make a webpage of it.

I have made something like it, but I have hand coded it, and it is mostly in HTML.

You can look at it here -> http://www.halo-source.com/profile/albums_list.php

Can this be done without having the folders on a web server somewhere?


Thanks, th3gh05t
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

You mean the files are on your computer? Sure, if you make your computer your own webserver. Install a webserver and PHP, put the files in the same area as your root folder for the webpage and execute the script on your harddrive.
th3gh05t
Forum Newbie
Posts: 22
Joined: Tue Apr 20, 2004 11:52 pm

Post by th3gh05t »

Ok. So where would I get something like that?
User avatar
tim
DevNet Resident
Posts: 1165
Joined: Thu Feb 12, 2004 7:19 pm
Location: ohio

Post by tim »

any search engine could direct you to millions of free servers you can install


apache is prob the best n most commonly used
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Well, you can easily find installation packages for Apache and PHP, plus http://www.hotscripts.com has some automatic packages listed (check out the PHP beginners faq for more information)
th3gh05t
Forum Newbie
Posts: 22
Joined: Tue Apr 20, 2004 11:52 pm

Post by th3gh05t »

Ambush Commander wrote:Well, you can easily find installation packages for Apache and PHP, plus http://www.hotscripts.com has some automatic packages listed (check out the PHP beginners faq for more information)
Yea, I have searched for hours, and couldn't find anything.
tim wrote:any search engine could direct you to millions of free servers you can install


apache is prob the best n most commonly used

Yes, I know that, but that is not what I was referring to.
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

th3gh05t
Forum Newbie
Posts: 22
Joined: Tue Apr 20, 2004 11:52 pm

Post by th3gh05t »

Already told you I know how to do all that.

I just need a script.

I don't know why you are providing me with all these unessary links.
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

???

Didn't you say you already made one? What's wrong with it?
User avatar
phpScott
DevNet Resident
Posts: 1206
Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.

Post by phpScott »

try this reading this post, at the bottom looks like a nifty little script to get you to where you want to go.
viewtopic.php?t=6290&highlight=reading+files+folder

hope that helps.
th3gh05t
Forum Newbie
Posts: 22
Joined: Tue Apr 20, 2004 11:52 pm

Post by th3gh05t »

Ambush Commander wrote:???

Didn't you say you already made one? What's wrong with it?
No, I told you that I had hand coded that for each entry.

If you are going to help, please read the thread and understand the topic at hand, otherwise, don't comment.
th3gh05t
Forum Newbie
Posts: 22
Joined: Tue Apr 20, 2004 11:52 pm

Post by th3gh05t »

phpScott wrote:try this reading this post, at the bottom looks like a nifty little script to get you to where you want to go.
viewtopic.php?t=6290&highlight=reading+files+folder

hope that helps.
Thank you!
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Hmph... don't be so ambiguous (it was written in PHP after all)
Post Reply