Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - help! to start web site
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic Closedhelp! to start web site

 Post Reply Post Reply
Author
numanme View Drop Down
Senior Member
Senior Member
Avatar

Joined: 21 May 2003
Location: United Kingdom
Status: Offline
Points: 220
Direct Link To This Post Topic: help! to start web site
    Posted: 07 June 2003 at 5:40am

Right don’t laugh but I’m new to this monster ASP thing but I’m willing to learn configuring the forum and looking at the script as got me thinking about converting my site to ASP but I just don’t know where to start.

 

What I would like is start at the basics can somebody show me how to do a home page with an include header and footer tried this on my NTLWORD site but it did not work do I need to have a database or can it be done without one. Sorry to ask so much but this is very interesting I think I’m hooked      
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Direct Link To This Post Posted: 07 June 2003 at 7:55am

it wont work on NTL as NTL doesnt support ASP

you need a host who supports ASP

to do a include you can put <!--#include file=" file name here "-->

which will work on any server that supports SSI (Server Side Include)

and in ASP you can use <% server.execute(" file name here ") %>

theres another for the ASP but i cant remember it

for a free ASP host theres Brinkster.com or you could pay for a decent ASP host (as brinkster isnt really that good, with it being free and all)

i personally started using ASP JUST to include links but soon found the other features usefull!

Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Direct Link To This Post Posted: 07 June 2003 at 10:54am
www.w3schools.com has some good stuff for ASP begginers!
Back to Top
KCWebMonkey View Drop Down
Senior Member
Senior Member
Avatar
Go Chiefs!

Joined: 21 June 2002
Status: Offline
Points: 1319
Direct Link To This Post Posted: 07 June 2003 at 11:47am

numanme, if your site is currently all static pages, then there is not much that you need to convert to ASP.  You can use INCLUDE files for your header, footer, and whatever else you want to have in the same place on every page.

and I would suggest you do what Scotty_32 says about getting an asp enabled site, or you won't get anywhere with ASP.



Edited by KCWebMonkey
Back to Top
Sapien View Drop Down
Newbie
Newbie


Joined: 19 October 2002
Location: Canada
Status: Offline
Points: 37
Direct Link To This Post Posted: 08 June 2003 at 9:47am

Dont use <!---#include file="filename.inc"--->

if you do that you will have to have that file in the same directory as every page you want that header to be used for.

use <!---#include virtual="path to file"---> and that will allow you to have one file, in one place, and access it from any directory in your site.

Back to Top
Bullschmidt View Drop Down
Groupie
Groupie


Joined: 31 May 2003
Location: United States
Status: Offline
Points: 72
Direct Link To This Post Posted: 12 June 2003 at 7:17pm

Here is something I put together about ASP that hopefully might help you learn a little.

You and others can have access to a database hosted on the Web from any location that has a browser with an Internet connection.

The Web database concept makes sense if you and your people want to do work in various locations in or outside the office and still be "plugged" in.

For example you could have employees enter timesheets or have sales reps log their contacts.  Or perhaps you'd like customers to be able to check the status of their orders online without having to call the company.

If you want a Web database, typically what would happen is that a database such as Access or MySQL (basically just consisting of tables) would be put on the Web.

Then "dynamic" Web pages (actually ASP pages which include VBScript, HTML, and/or JavaScript) would be created acting like the old desktop database's queries, forms, and reports to access the database - all hosted on a Web Server.

Dynamic Web pages are similar in many ways to regular HTML pages.  But they are "live" because the user can read from and write to information in the database.  An example where you can login and add, edit, or view fictional customers and invoices is at http://www.bullschmidt.com/login.asp

Not all Web hosts will handle dynamic Web pages but many do.  The Web hosts that can handle ASP pages usually have a Windows 2000 operating system running an IIS Web server.

Here are a few good ASP sites:
o ASP101 (See the Samples Section) - http://www.asp101.com
o 4GuysFromRolla - http://www.4guysfromrolla.com
o Microsoft VBScript Language Reference - http://msdn.microsoft.com/scripting/default.htm?/scripting/VBScript/doc/vbscripttoc.htm

And the following newsgroup is good:
microsoft.public.inetserver.asp.general

Or for a "quick and dirty" generic ASP solution to putting database tables on the Web that just requires setting up a configuration page for each table or query and uploading the database to the Web as long as you have an autonumber field in each table (and as a more advanced issue you'll probably sometime in the future want to create login capabilities), perhaps try something like this:
GenericDB by Eli Robillard
http://www.genericdb.com

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
Direct Link To This Post Posted: 13 June 2003 at 4:05pm
yo sapien, you forgot to mention that you need to include the full virtual path to the file from the root
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.