Title: Message
Hi,
 
I have a question about the internal webserver. I was trying to put some ASP code into my pages but he won't process the code. He just shows the code as plain text. Is it not possible to include common ASP into the webpages ? Cause the template tags are quite limited if you wan't to add some decent things.
 
I want to check if a directory and file exists and then relate a link to it (its a html page).
<%
Set fs=Server.CreateObject("Scripting.FileSystemObject")
 
If fs.FolderExists("c:\temp") = true Then
      Response.Write("Folder c:\temp exists.")
Else
      Response.Write("Folder c:\temp does not exist.")
End If
 
set fs=nothing
%>
This is the code i was testing with but he just displays it as text.
 
Does anyone has a solution for this problem or is this not possible at all ?
 
Kindly regards,
 
Dave Broeckx
[ ICT engineer ]
N.V. Ferranti Computer Systems S.A.
mailto: [EMAIL PROTECTED]
http://www.ferranti.be
tel: + 32-3-540.49.11
fax: + 32-3-542.63.28

 

Reply via email to