Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - link in subfolders
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

link in subfolders

 Post Reply Post Reply
Author
OZON View Drop Down
Newbie
Newbie
Avatar

Joined: 28 April 2002
Location: Macedonia
Status: Offline
Points: 34
Post Options Post Options   Thanks (0) Thanks(0)   Quote OZON Quote  Post ReplyReply Direct Link To This Post Topic: link in subfolders
    Posted: 12 June 2003 at 5:46pm
How to use this link index.as?id=12, when index is in folder1 and file 12 is in subfolder folder2?
Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post Posted: 12 June 2003 at 6:29pm

I dont really know what you mean, but if you want to pass more than one value through a querystring, you use & signs after the initial ? sign.  Eg:

page.asp?query1=value1&query2=value2&query3=value3

There is a limit to how much you can have, only use it if your passing small amounts of data through.

Back to Top
Bullschmidt View Drop Down
Groupie
Groupie


Joined: 31 May 2003
Location: United States
Status: Offline
Points: 72
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bullschmidt Quote  Post ReplyReply Direct Link To This Post Posted: 16 June 2003 at 12:26am

Originally posted by OZON OZON wrote:

How to use this link index.as?id=12, when index is in folder1 and file 12 is in subfolder folder2?

So if your site structure is like this:

http://www.mysite.com/folder1/folder2

And you're in folder1 and want to refer to a file in folder2:

How about this:

folder2/index.asp?id=12

Or this:

/folder2/index.asp?id=12

Or this:

http://www.mysite.com/folder1/folder2/index.asp?id=12



Edited by Bullschmidt
J. Paul Schmidt, Freelance ASP Web Developer
www.Bullschmidt.com
Classic ASP Design Tips, ASP Web Database Sample (Freely Downloadable)
Back to Top
pmormr View Drop Down
Senior Member
Senior Member


Joined: 06 January 2003
Location: United States
Status: Offline
Points: 1479
Post Options Post Options   Thanks (0) Thanks(0)   Quote pmormr Quote  Post ReplyReply Direct Link To This Post Posted: 16 June 2003 at 5:45pm
when you add a slash to a hyperlink (/filename) it refers back to the site root. So therfore you would have to say "/folder1/folder2/index.asp?id=12".  Just so you don't get confused...
Back to Top
Bullschmidt View Drop Down
Groupie
Groupie


Joined: 31 May 2003
Location: United States
Status: Offline
Points: 72
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bullschmidt Quote  Post ReplyReply Direct Link To This Post Posted: 16 June 2003 at 10:17pm
Thanks P.A.M.  That clears up something that I had been wondering about previously.
J. Paul Schmidt, Freelance ASP Web Developer
www.Bullschmidt.com
Classic ASP Design Tips, ASP Web Database Sample (Freely Downloadable)
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.