Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - config.asp or common.asp
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

config.asp or common.asp

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

Joined: 30 August 2003
Location: United Kingdom
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote nay27uk Quote  Post ReplyReply Direct Link To This Post Topic: config.asp or common.asp
    Posted: 30 August 2003 at 4:05pm
What parts of your script do you take out to place in its own script called config.asp or common.asp
Back to Top
MadDog View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 01 January 2002
Status: Offline
Points: 3008
Post Options Post Options   Thanks (0) Thanks(0)   Quote MadDog Quote  Post ReplyReply Direct Link To This Post Posted: 30 August 2003 at 10:08pm
doesnt matter, whatever one you like the best.
Back to Top
ljamal View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 16 April 2003
Status: Offline
Points: 888
Post Options Post Options   Thanks (0) Thanks(0)   Quote ljamal Quote  Post ReplyReply Direct Link To This Post Posted: 31 August 2003 at 6:52am
Maybe you should read the post again MadDog and maybe answer the question.

The parts the script that I place in include files are those that are utilized most often by other pages.
Back to Top
nay27uk View Drop Down
Newbie
Newbie
Avatar

Joined: 30 August 2003
Location: United Kingdom
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote nay27uk Quote  Post ReplyReply Direct Link To This Post Posted: 31 August 2003 at 9:37am
Thanks for the answers its just i have put my database in a folder called db and have had to remove the server.mappath and put the full path to the database in i just thought it maybe easyer if i had a config.asp to call to each page rather than use the path to the database in each page. so i supose what i want is all the code in one config file and just leave the outher not so important parts in the pages I.E <% = rsscripts %> i did try this but got errors im not sure what bits i remove

Edited by nay27uk
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.