Discussion Locked

Opening folder view within a table

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Basically what i need to do is click on a link and have that link display the contents of a folder on a server within a table. i know that the following command will do this:

LINK NAME

But how do you get the output of this link to display within a cell in a table on a webpage?

1 reply

by tony hopkinson

Are you talking show a link in a table and when they click on it expand to the content of the link.
Or a link which displays a dir list in a table, for say a file in the dir in each record ?
Personally I'd definitely be scripting or CGIing this server side, the thought of giving a client direct access to the content on my server gives me the heebies.
How you script it depends on your environment of course, but you can do this sort of thing easily server side.

To disply the content of a file a web page.
Look up the object tag. NB the examples usually show this as a way to include a html file (sort of like includes in C et al. However if you put it inside

 

and put in the extension on the data attribute, you may get away with it.
Note this was a known way of injecting nasties onto client PCs, so you may make some suspicious.

This discussion is closed to new replies.