HighDots Forums  

Browser for folders.

alt.html alt.html


Discuss Browser for folders. in the alt.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
none
 
Posts: n/a

Default Browser for folders. - 03-24-2008 , 12:57 PM






Hi.

I have a site where I want to automatic list folders below.
index.htm -> where I want the foldernames below.
folder1
folder2
folder3


So my question is how can I do this with js or cgi


Regards Rstormo

Reply With Quote
  #2  
Old   
mynameisnobodyodyssea@googlemail.com
 
Posts: n/a

Default Re: Browser for folders. - 03-24-2008 , 02:09 PM






On Mar 24, 5:57*pm, none <""rstormo\"@(none)"> wrote:
Quote:
Hi.

I have a site where I want to automatic list folders below.
index.htm -> where I want the foldernames below.
* * * * folder1
* * * * folder2
* * * * folder3

So my question is how can I do this with js or cgi

Regards Rstormo
What do you mean?
Like the option of showing the current folder content
at a URL http://yourdomain.com/somefolder/
where the index file is missing?


Reply With Quote
  #3  
Old   
none
 
Posts: n/a

Default Re: Browser for folders. - 03-24-2008 , 02:16 PM



mynameisnobodyodyssea (AT) googlemail (DOT) com wrote:
Quote:
On Mar 24, 5:57 pm, none <""rstormo\"@(none)"> wrote:
Hi.

I have a site where I want to automatic list folders below.
index.htm -> where I want the foldernames below.
folder1
folder2
folder3

So my question is how can I do this with js or cgi

Regards Rstormo

What do you mean?
Like the option of showing the current folder content
at a URL http://yourdomain.com/somefolder/
where the index file is missing?
Yes that sounds like exactly what I mean.

some javascript, php or something. Tried php scandir() but that command
was not allowed. So maybee my server have an older version.


Regards rstormo


Reply With Quote
  #4  
Old   
mynameisnobodyodyssea@googlemail.com
 
Posts: n/a

Default Re: Browser for folders. - 03-24-2008 , 03:07 PM



On Mar 24, 7:16*pm, none <""rstormo\"@(none)"> wrote:
Quote:
mynameisnobodyodys... (AT) googlemail (DOT) com wrote:
On Mar 24, 5:57 pm, none <""rstormo\"@(none)"> wrote:
Hi.

I have a site where I want to automatic list folders below.
index.htm -> where I want the foldernames below.
* * * * folder1
* * * * folder2
* * * * folder3

So my question is how can I do this with js or cgi

Regards Rstormo

What do you mean?
Like the option of showing the current folder content
at a URLhttp://yourdomain.com/somefolder/
where the index file is missing?

Yes that sounds like exactly what I mean.

some javascript, php or something. Tried php scandir() but that command
was not allowed. So maybee my server have an older version.

Regards rstormo
You must be careful because this could add
extra links to be followed by search engines and
it might affect the way your site is crawled
by search engines and it might affect search results.

You can set at server level the way a URL
http://yourdomain/somefolder/
appears if there is no index file there.
If you have something like cpanel, have a look at
Advanced > Index Manager
For an Apache server that would add specific to your choices
Options and IndexOptions lines
to your .htaccess files.


Reply With Quote
  #5  
Old   
none
 
Posts: n/a

Default Re: Browser for folders. - 03-24-2008 , 03:14 PM



mynameisnobodyodyssea (AT) googlemail (DOT) com wrote:
Quote:
On Mar 24, 7:16 pm, none <""rstormo\"@(none)"> wrote:
mynameisnobodyodys... (AT) googlemail (DOT) com wrote:
On Mar 24, 5:57 pm, none <""rstormo\"@(none)"> wrote:
Hi.
I have a site where I want to automatic list folders below.
index.htm -> where I want the foldernames below.
folder1
folder2
folder3
So my question is how can I do this with js or cgi
Regards Rstormo
What do you mean?
Like the option of showing the current folder content
at a URLhttp://yourdomain.com/somefolder/
where the index file is missing?
Yes that sounds like exactly what I mean.

some javascript, php or something. Tried php scandir() but that command
was not allowed. So maybee my server have an older version.

Regards rstormo

You must be careful because this could add
extra links to be followed by search engines and
it might affect the way your site is crawled
by search engines and it might affect search results.

You can set at server level the way a URL
http://yourdomain/somefolder/
appears if there is no index file there.
If you have something like cpanel, have a look at
Advanced > Index Manager
For an Apache server that would add specific to your choices
Options and IndexOptions lines
to your .htaccess files.
I understand that, but I need a script to do so. This because I will
have something more on that index page.
The page would have design but the folders are automatic generated.

Regards rstormo


Reply With Quote
  #6  
Old   
mynameisnobodyodyssea@googlemail.com
 
Posts: n/a

Default Re: Browser for folders. - 03-24-2008 , 03:26 PM



On Mar 24, 8:14*pm, none <""rstormo\"@(none)"> wrote:
Quote:
I understand that, but I need a script to do so. This because I will
have something more on that index page.
The page would have design but the folders are automatic generated.

Regards rstormo
Maybe look at the PHP function opendir,
http://uk3.php.net/opendir




Reply With Quote
  #7  
Old   
mynameisnobodyodyssea@googlemail.com
 
Posts: n/a

Default Re: Browser for folders. - 03-24-2008 , 04:39 PM



On Mar 24, 9:17*pm, none <""rstormo\"@(none)"> wrote:
Quote:
Thank you for pointing me in the right direction.

Regards Rstormo
With your links automatically generated,
I repeat, check that they are OK to be crawled by
search engines, check that your robots.txt file
is up to date.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.