Re: [ilugd] Listing pages in directory as links

2007-06-25 Thread Ravi Kumar
Javascripts are client side, and you can't read dir at server from client side. You need server side scripting/cgi-programming. Lets look at php solution. You can use two php functions: $fileHandler = open_dir(directory_path/absolute/or/relative) and read_dir($fileHandler) and save those in the

Re: [ilugd] Listing pages in directory as links

2007-06-24 Thread Raj Shekhar
in infinite wisdom Sudev Barar spoke thus On 06/23/2007 10:39 AM: Suggestions? I continue to google for this. What you are looking for is called fancy autoindexing. There is a apache module to do that. It might be sufficient for your needs. Not sure what terms you are using for your

Re: [ilugd] Listing pages in directory as links

2007-06-24 Thread Yadu Rajiv
Well.. i don't know how much good this will be but, there is something called *GaMerZ File Explorer 1.20* here, its #14 in that list and well ive been using a lot of wp plugins by this dude.. really awesome! - http://www.lesterchan.net/portfolio/programming.php for a demo of the same script, go

Re: [ilugd] Listing pages in directory as links

2007-06-24 Thread vivek khurana
--- Sudev Barar [EMAIL PROTECTED] wrote: I am writing some intranet pages under ~/public_html directory. As I keep adding more and more pages under this directory I want to create a index.html page here that will constantly update itself whenever a new page is added and provide a link to

Re: [ilugd] Listing pages in directory as links

2007-06-23 Thread Kenneth Gonsalves
On 23-Jun-07, at 10:39 AM, Sudev Barar wrote: I am writing some intranet pages under ~/public_html directory. As I keep adding more and more pages under this directory I want to create a index.html page here that will constantly update itself whenever a new page is added and provide a link

Re: [ilugd] Listing pages in directory as links

2007-06-23 Thread Kenneth Gonsalves
On 23-Jun-07, at 6:30 PM, Rahul Upakare wrote: I don't think this code will work. In 'a' (append mode) we cannot write (append) and read at the same time true . Also, any specific reason you choose to append to an existing file? What advantage it has over writing the file (from scratch)

Re: [ilugd] Listing pages in directory as links

2007-06-23 Thread Rahul Upakare
On 6/23/07, Kenneth Gonsalves [EMAIL PROTECTED] wrote: On 23-Jun-07, at 10:39 AM, Sudev Barar wrote: I am writing some intranet pages under ~/public_html directory. As I keep adding more and more pages under this directory I want to create a index.html page here that will constantly update

Re: [ilugd] Listing pages in directory as links

2007-06-23 Thread Sandip Bhattacharya
Sudev Barar wrote: I am writing some intranet pages under ~/public_html directory. As I keep adding more and more pages under this directory I want to create a index.html page here that will constantly update itself whenever a new page is added and provide a link to that page. Suggestions?

Re: [ilugd] Listing pages in directory as links

2007-06-22 Thread Rahul Upakare
On 6/23/07, Sudev Barar [EMAIL PROTECTED] wrote: I am writing some intranet pages under ~/public_html directory. As I keep adding more and more pages under this directory I want to create a index.html page here that will constantly update itself whenever a new page is added and provide a link

Re: [ilugd] Listing pages in directory as links

2007-06-22 Thread Rahul Upakare
On 6/23/07, Sudev Barar [EMAIL PROTECTED] wrote: I am writing some intranet pages under ~/public_html directory. As I keep adding more and more pages under this directory I want to create a index.html page here that will constantly update itself whenever a new page is added and provide a link