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
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
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
--- 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
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
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)
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
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?
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
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
10 matches
Mail list logo