Again if you are serious about this matter, I believe that it is important that you look at and understand every line of code in all of the several files mentioned in here.
If you do not understand anything, please feel free to ask and I will try to explain.
- protect.asp
showscript.asp?fn=protect.src will show the source for protect.asp .There are Bad Folks around - Protect Yourself - dont let them in.
Dont even tell them they have been blocked - it saves a lot of tedious and acrimonious correspondence
It is your WebSite and you can decide who you dont want to visit it !!You may also want to look at emailaddresses.htm to understand my views on the subject of EMail Addresses.
- directory.asp
showscript.asp?fn=directory.src will show the source for directory.asp .This file makes your site completely and simply portable between servers - just change the folder names and Bish,Bash,Bosh job done.
Oh and ByTheWay, if you think that I have told you the real Online folder names you must be daft !!
- dbconnections.asp
showscript.asp?fn=dbconnections.src will show the source for dbconnections.asp .This file removes the need to open database tables in each WebPage.
If you use "Vanilla SQL Dialect", you can change the Database that you are using sipmly by changing this file !!
- language.asp
showscript.asp?fn=language.src will show the source for language.asp .This file holds the "default language" for the site.
Although it is not used in this demonstration, the Prefered Language of the Client PC can be obtained from the "Server Variables" which means that the site can be made to use the appropriate language for each Client PC
- general_functions.asp
showscript.asp?fn=general_functions.src will show the source for general_functions.asp .I am sure that you will realise that the file shown here is a very much "hacked down" version of my real file - it just contains the Functions needed for this demonstration.
Now I have to tell you the truth - I do not use such a file !!
I have put the contents in a 'dotWSC' file and registered it as an ACTIVE-X file - that is more secure and it helps the pages to serve faster. - adovbs.inc
This file is produced and copyrighted by Microsoft - for that reason, I am not going to publish it here.It is not strictly necessary, but I find it good practice to include it.
You can find it on Google or Microsoft site.
That is your lot folks - I do so hope that it has been interesting and maybe even useful.
If you want copies of the Databases, please ask and I will provide them !!