|
-
Mar 14th, 2001, 11:33 PM
#1
Thread Starter
Member
How do I link an external VBScript file to my ASP file?
Where should I put the code to link the VBScript file?
How do I call a routine that is found on my external VBScript file?
I used the code below to call the routine from the external VBScript file:
'MakeConn is the name of the routine
Call MakeConn(Con,DSNTemp)
Unfortunately, this error message appears:
Type Mismatch 'MakeConn'
-
Mar 15th, 2001, 08:32 PM
#2
Lively Member
why not include the file in your ASP page?
<!--include file="filename.inc"-->
-
Mar 15th, 2001, 09:27 PM
#3
Thread Starter
Member
#include
Will my site be secure if i use server side include directives (such as what you suggested) to link external files to an HTML page?
-
Mar 15th, 2001, 10:26 PM
#4
Addicted Member
Security is as Good as (or as Poor as) Your asp page.
Don't name your Include files with anyother Extension than .asp
If You Place Database connection code and Passwords
in an Include file with .inc extension some one Good
Enough to guess the file's Name might simply see the code just by requesting the File over http. That's
Because normally Server does not process Individual
.inc files.
The SSI syntax is..
<!-- #include file="filename.asp" -->
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|