Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

what is the differnce between an ac

Status
Not open for further replies.

GoLdFiNgeR

IS-IT--Management
Jun 4, 2002
252
US
what is the differnce between an active server page and an html page?

i just made a form, so does it matter if i post it as a .asp or .html? will it work either way?

any insight is greatly appreciated
 
ASP is kind of a programming language (like Javascript)...its a client side language that "creates" pages dynamicaly...an example of an ASP page might have a weekly poll that takes in the results and displays it also...and HTML page alone could not do that, because HTMLs alone are static...
You can have you pages as an ASP or an HTML extension and both will work fine...although i'm pretty sure that older browsers like NS3 and IE3 will not read an ASP extension (but i'm not sure) I have not failed; I merely found 100,000 different ways of not succeding...
 
ok thanks, it looks like i will use html because this is a pretty simple form, thanks

william
 
As far as I knew,asp runs at the server. it is called active server page for some reason no ?
It is processed on server side and sends html to the client.
You can not test or create asp file without an webserver (running on your pc or somwhere else)
If you look at the source code of an asp page in your browser you will see html and no asp.
Javascript on the other hand does run with the client. Greetz,

The Muppeteer.
themuppeteer@hotmail.com

Don't eat yellow snow...
 
ASP is kind of a programming language
ASP is actually not a language and can be programmed with a variety of languages such as vbscript and or javascript. ASP is in a sense a comparison to a platform such as CGI.
All ASP is run server side and does not have much interaction with any client side scripting. Not to say you can't have interaction but usually the case of it's use does not have any. I'm trying, really I am!
admin@onpntwebdesigns.com
 
Wow...I was wrong...hmmm, looks like I found another way of no succedding...[sad] I have not failed; I merely found 100,000 different ways of not succeding...
 
The important thing to do is make the distinction between clientside and serverside code. ASP is processed on the server, with all output written to the client as static HTML. Because of this the client's browser is not an issue.

It is also important to note that because all processing is done on the server first, then outputted to the client, you can't send things from the client back to the server without making a new server request, either by loading another page (or reloading the current one) - and submitting form data etc.

If you have a form, this can be written in straight html with no need to worry about asp (you only need to write it with an asp if it is any way dynamic). However, if you want to do any complex processing of the form data, such as database stuff, you'll need to submit it to an asp (or cgi program or whatever).
 
GUJUm0deL
This is a very common miss conception. I think from what I've seen a lot of people a reluctant to go with ASP just for the fact the knowledge of it is unknown and limited to the majority of designers. seems more and more are realizing it's power though in web development and asking questions to get into utilizing it. I'm trying, really I am!
admin@onpntwebdesigns.com
 
thank you guys, your help is greatly appreciated
 
its on a server outside our office at the web hosting co. building
 
The method you are using to send the email (WEBBOT) requires a compatible server. I've never used that method but it probably needs a Microsoft server, so check that the server supports it.

If you do decide to use ASP at some point, you'll need to use Microsoft IIS as your webserver. What I would say is that ASP will open up a whole new dimension to web development and it would be very useful if you learnt it. Work through tutorials to get the hang of it. You can use it locally for testing with IIS (if you have Win NT or 2000) or PWS (Win 98), or you could try a free ASP server such as
 
The main thing here you need to think about and determine is
If you want to run ASP you need a hosting service that has ASP support. should be easy enough to find out.
If you want to test ASP from your machine you need to install IIS (internet information services) or PWS (personal web server) on your machine. Comes with the windows installation CD.
If you have all this and you want to use ASP in client pages. like your index.htm all you need to do is change the extension to .asp after placing the code in the page.
If you want to have a email script of some sort, change the action in the form tag to process the ASP script in the server just as a CGI (but not in the cgi-bin).

sweevo has the right idea telling you about brinkster. it's free and a great way to start learning how to use ASP before you throw it into your web and mess things up going frantic to fix them.

there are multiple free asp mail scripts out there for use and examples to work off of. Try and look for some and look them over to get the idea of the coding conventions etc.
I'm trying, really I am!
admin@onpntwebdesigns.com
 
Actually, you don't need to be running Microsoft's IIS to host Active Server Pages. You could run asp on Apache but you would probably be better off running php if you decided to go with Apache.

Chilisoft lets you run asp on Apache. I think their is also an asp module for apache but you don't program it in VBScript, instead it uses perl script if I recall. ====================================
I love people. They taste just like
chicken!
 
Could you post the asp code? It might be something wrong with you code there. ====================================
I love people. They taste just like
chicken!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top