What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Creating a file Index

Pages: (2): « First [ 1 ] 2 » Last »
Creating a file Index
Author: Message:
Joe
Senior Member
****

Avatar

Posts: 950
Reputation: 30
35 / Other / Flag
Joined: Mar 2004
O.P. Creating a file Index
How do you create a file index Like This.
Might be Noob-ish, but I haven't a clue. Please help me... PM me or post on here if you are willing to help or have a/the simple way to do this.
[Image: holidayssigei2.jpg]
04-20-2005 03:10 AM
Profile E-Mail PM Find Quote Report
Ash_
Senior Member
****

Avatar

Posts: 638
Reputation: 31
35 / Male / –
Joined: Aug 2004
RE: Creating a file Index
do you mean like in PHP or something else?

if it's PHP go lookup readdir on php.net they have some good examples :)
[Image: jeansiger5.jpg]
04-20-2005 03:19 AM
Profile PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Creating a file Index
Want to make sure you don't have an index file of any type. And allow directory viewing. Are you using CPanel or what?
04-20-2005 03:21 AM
Profile E-Mail PM Find Quote Report
Chris4
Elite Member
*****

Avatar

Posts: 4461
Reputation: 84
32 / Male / Flag
Joined: Dec 2004
RE: Creating a file Index
To get a directory like that, you need to delete the index.html page (or rename) it. Then it should show all the files in the folder.
Twitter: @ChrisLozeau
04-20-2005 03:27 AM
Profile PM Find Quote Report
user13774
Disabled Account


Posts: 1119
Joined: Apr 2003
Status: Away
RE: Creating a file Index
I though it depended on what server software your host uses? Because when I just surf to a folder with some files on my ISP's homepage space I get a 403 error.. (like this folder which contains some pictures: http://www.planet.nl/~blank454/other/)
04-20-2005 08:18 AM
Profile PM Find Quote Report
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
37 / Male / Flag
Joined: Jul 2003
RE: RE: Creating a file Index
quote:
Originally posted by Markus
I though it depended on what server software your host uses? Because when I just surf to a folder with some files on my ISP's homepage space I get a 403 error.. (like this folder which contains some pictures: http://www.planet.nl/~blank454/other/)

in Apache servers, you can turn off directory listing, so it depends on that setting.  You can easily change it for each directory in cPanel
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
04-20-2005 10:31 AM
Profile E-Mail PM Web Find Quote Report
Wabz
Elite Member
*****

Avatar
Its Groovy Baby!

Posts: 3459
Reputation: 29
38 / Male / Flag
Joined: Jan 2003
RE: Creating a file Index
I think all you have to do is type

Options and Indexes

in a text file save it as f.htaccess

upload it to the directory you want and rename it to .htaccess

[note you will have to change the name on upload as windows doesnt like no name files.]
Mess.be Forum Moderator
Messenger Plus ex-IRC Network Admin
Gimme a Rep!
04-20-2005 10:59 AM
Profile E-Mail PM Web Find Quote Report
user13774
Disabled Account


Posts: 1119
Joined: Apr 2003
Status: Away
RE: Creating a file Index
quote:
Originally posted by Dempsey
in Apache servers, you can turn off directory listing, so it depends on that setting.  You can easily change it for each directory in cPanel
My ISP's homepage space doesn't offer cPanel though... :dodgy:

quote:
Originally posted by Wabz
I think all you have to do is type

Options and Indexes

in a text file save it as f.htaccess

upload it to the directory you want and rename it to .htaccess

[note you will have to change the name on upload as windows doesnt like no name files.]
Doesn't work. Still get a 403 error. And as soon as I tried to open the specific folder, the .htaccess file has disappeared when I go to that folder again in FTP mode.
04-20-2005 01:37 PM
Profile PM Find Quote Report
MeEtc
Patchou's look-alike
*****

Avatar
In the Shadow Gallery once again

Posts: 2200
Reputation: 60
38 / Male / Flag
Joined: Nov 2004
Status: Away
RE: Creating a file Index
Which means your host doesn't allow .htaccess files
You could create your own index file, but you would end up editing it every time you change the dir's contents
[Image: signature/]     [Image: sharing.png]
I cannot hear you. There is a banana in my ear.
04-20-2005 01:40 PM
Profile PM Web Find Quote Report
Ash_
Senior Member
****

Avatar

Posts: 638
Reputation: 31
35 / Male / –
Joined: Aug 2004
RE: Creating a file Index
quote:
Originally posted by MeEtc
Which means your host doesn't allow .htaccess files
You could create your own index file, but you would end up editing it every time you change the dir's contents


*hint* use PHP, use the scandir/readdir call.

you wouldnt have to change nothing.
[Image: jeansiger5.jpg]
04-20-2005 01:54 PM
Profile PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On