The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

2 Pages V  1 2 >  
Reply to this topicStart new topic
> automaticly create links
cappy
post Sep 29 2006, 11:11 PM
Post #1


Newbie
*

Group: Members
Posts: 14
Joined: 29-September 06
Member No.: 286



Im using a little webserver, for stats on my game. I need a way to have it automaticly make links to each of the players stats, there all in the same folder, and are a .txt format. Would there be any way to have it do this?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
cappy
post Sep 30 2006, 12:42 AM
Post #2


Newbie
*

Group: Members
Posts: 14
Joined: 29-September 06
Member No.: 286



QUOTE(cappy @ Sep 30 2006, 12:11 AM) *

Im using a little webserver, for stats on my game. I need a way to have it automaticly make links to each of the players stats, there all in the same folder, and are a .txt format. Would there be any way to have it do this?

Ok, now instead of links, i added a search to the page, simple type what you want and click search. But how would i get it to search for a filename and open it?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Brian Chandler
post Sep 30 2006, 01:10 AM
Post #3


Jocular coder
********

Group: Members
Posts: 2,460
Joined: 31-August 06
Member No.: 43



QUOTE(cappy @ Sep 30 2006, 02:42 PM) *

QUOTE(cappy @ Sep 30 2006, 12:11 AM) *

Im using a little webserver, for stats on my game. I need a way to have it automaticly make links to each of the players stats, there all in the same folder, and are a .txt format. Would there be any way to have it do this?

Ok, now instead of links, i added a search to the page, simple type what you want and click search. But how would i get it to search for a filename and open it?


Can't guess what you are talking about, I'm afraid. What is this "little webserver"? Is it Apache, for example? Is there a web page associated with all this? Where is it? Can you give us an URL (starting http://...) ?

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Sep 30 2006, 01:28 AM
Post #4


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



You can have a server side script create links to all files in a directory. You can find such scripts at for example http://hotscripts.com . If you don't need to have something fancy, you could configure your server to list files when the URL to a directory is called up (if your server supports this, but I would think most do). Like this.
http://www.w3.org/Icons/
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
cappy
post Sep 30 2006, 10:01 AM
Post #5


Newbie
*

Group: Members
Posts: 14
Joined: 29-September 06
Member No.: 286



QUOTE(pandy @ Sep 30 2006, 02:28 AM) *

You can have a server side script create links to all files in a directory. You can find such scripts at for example http://hotscripts.com . If you don't need to have something fancy, you could configure your server to list files when the URL to a directory is called up (if your server supports this, but I would think most do). Like this.
http://www.w3.org/Icons/

How would i manage to do that? And with the search, heres what i ment. i added a search button on the index.html page, its in the folder where all the stat files are. How would i get it to search for a specific file?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Sep 30 2006, 11:48 PM
Post #6


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



I don't know. I don't know what your search button really is and I don't know what server you use. blink.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
cappy
post Sep 30 2006, 11:59 PM
Post #7


Newbie
*

Group: Members
Posts: 14
Joined: 29-September 06
Member No.: 286



Screenshots help?
Attached ImageAttached Image

This post has been edited by cappy: Oct 1 2006, 12:06 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 1 2006, 12:09 AM
Post #8


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Partly. I can see it's a FrontPage search thing. I'm afraid I can't help you with that, but maybe someone else can.

Why can't you just tell us what server you use and what you have available server-side? Like PHP, ASP...
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
cappy
post Oct 1 2006, 12:17 AM
Post #9


Newbie
*

Group: Members
Posts: 14
Joined: 29-September 06
Member No.: 286



Hold on, let me find the download link.

http://www.megaupload.com/?d=0SHFNHBZ
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
cappy
post Oct 1 2006, 03:00 PM
Post #10


Newbie
*

Group: Members
Posts: 14
Joined: 29-September 06
Member No.: 286



It doesnt have to be that search, any would be nice.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 1 2006, 03:10 PM
Post #11


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



The only server I can find called QuickWeb is a proxy server, not a web server. sad.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
cappy
post Oct 1 2006, 10:18 PM
Post #12


Newbie
*

Group: Members
Posts: 14
Joined: 29-September 06
Member No.: 286



Well, thats what im using. I gave the link to download.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 2 2006, 05:53 AM
Post #13


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Yes, but I can't find any information about it, if it isn't the proxy. I don't want to install it just to find out. Sorry. sad.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
cappy
post Oct 2 2006, 02:48 PM
Post #14


Newbie
*

Group: Members
Posts: 14
Joined: 29-September 06
Member No.: 286



Is there any other way? My index.html looks like.... and i understand why not

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
<title>QuickWeb Test Page - </title>
</head>

<body>


</body>
</html>


User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 2 2006, 05:32 PM
Post #15


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



You can't do it with HTML. It must be done server-side and since we can't find out either how your servers works or if it comes with any scripting languages it's sort of a dead end.

If you run this server on your own machine, as it sounds like you do, you may be able to use Windows scripting or some other windows program that can grab the file names and produce a static HTML page, but I don''t know of any that you can run out of the box. Maybe there is one, don't know. I could do it with the scripting language my text editor uses, but there is a learning curve so that's not what you are looking for.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
cappy
post Oct 2 2006, 08:07 PM
Post #16


Newbie
*

Group: Members
Posts: 14
Joined: 29-September 06
Member No.: 286



Like what software? All i have is frontpage and dreamweaver fow now. Yes it is ran off my comp.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 2 2006, 09:13 PM
Post #17


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



No, I don't think they can do it. I assume you want this thing to update at least now and then? There will be changes to the files? If you just want it don't once and that's it, then maybe they can do it. I have neither of them so I can't say. See if one of them can create links to more than one file at the time.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
cappy
post Oct 2 2006, 11:46 PM
Post #18


Newbie
*

Group: Members
Posts: 14
Joined: 29-September 06
Member No.: 286



Im not seing it on either of these, what do you use?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 2 2006, 11:58 PM
Post #19


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Either of what? How do you normally create a link to a file if you don't type it by hand? Can you drag files to the program(s) and they create a link or can use use some meny command and browse to the file?

What do I use for HTML or what server? A text editor and Apache.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
cappy
post Oct 3 2006, 04:12 PM
Post #20


Newbie
*

Group: Members
Posts: 14
Joined: 29-September 06
Member No.: 286



Dragging and drop doesnt work. Know of any programs that would alow me to do that?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

2 Pages V  1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 18th April 2024 - 06:20 PM