| Author |
My ASP Code won't work
|
|
| Jacky Luk 2005-07-27, 2:49 am |
| Hi,
I have just installed IIS on my XP SP2 machine.
This code (dreamweaver) doesn't work
<%@ LANGUAGE="VBSCRIPT" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
</head>
<body>
Good Afternoon<BR>
Welcome to this sample. It is approximately
<%=Now()%> at the server, Here
---->the current time ,Now(), is not displayed
</body>
</html>
pls help
Jack
| |
| Steven Burn 2005-07-27, 7:51 am |
| What _IS_ displayed?
Does the file have a .asp extension or a .htm extension?
--
Regards
Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk
Keeping it FREE!
"Jacky Luk" <jl@knight.com> wrote in message
news:ecj#uwnkFHA.764@TK2MSFTNGP14.phx.gbl...
> Hi,
> I have just installed IIS on my XP SP2 machine.
> This code (dreamweaver) doesn't work
>
> <%@ LANGUAGE="VBSCRIPT" %>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <title>Untitled Document</title>
> <meta http-equiv="Content-Type" content="text/html; charset=big5">
> </head>
>
>
>
>
> <body>
> Good Afternoon<BR>
> Welcome to this sample. It is approximately
> <%=Now()%> at the server, Here
> ---->the current time ,Now(), is not displayed
>
>
> </body>
> </html>
>
> pls help
> Jack
>
>
| |
| Jacky Luk 2005-07-27, 7:51 am |
| Good Afternoon
Welcome to this sample. It is approximately at the server, Here
I have save the file as .asp (one htm, one asp), but still displayed as
above
Thanks
Jack
"Steven Burn" <somewhere@in-time.invalid> 撰寫於郵件新聞:uYAd9hpkFHA.2472@TK2MSFTNGP15.phx.gbl...
> What _IS_ displayed?
>
> Does the file have a .asp extension or a .htm extension?
>
> --
> Regards
>
> Steven Burn
> Ur I.T. Mate Group
> www.it-mate.co.uk
>
> Keeping it FREE!
>
> "Jacky Luk" <jl@knight.com> wrote in message
> news:ecj#uwnkFHA.764@TK2MSFTNGP14.phx.gbl...
>
>
| |
| Mark Schupp 2005-07-27, 5:54 pm |
| right-click on the page and "view source". what do you see where the
<%=Now()%> tag was?
--
--Mark Schupp
"Jacky Luk" <jl@knight.com> wrote in message
news:%23ISrhHqkFHA.3568@TK2MSFTNGP10.phx.gbl...
> Good Afternoon
> Welcome to this sample. It is approximately at the server, Here
>
> I have save the file as .asp (one htm, one asp), but still displayed as
> above
> Thanks
> Jack
>
>
>
> "Steven Burn" <somewhere@in-time.invalid>
> 撰寫於郵件新聞:uYAd9hpkFHA.2472@TK2MSFTNGP15.phx.gbl...
>
>
| |
| Jacky Luk 2005-07-29, 8:08 am |
| Thanks for responding.... I can see the little tag marked on the page when
being previewed inside DW...
"Mark Schupp" <notvalid@email.net> 撰寫於郵件新聞:O4DF$8rkFHA.320@TK2MSFTNGP09.phx.gbl...
> right-click on the page and "view source". what do you see where the
> <%=Now()%> tag was?
>
> --
> --Mark Schupp
>
>
> "Jacky Luk" <jl@knight.com> wrote in message
> news:%23ISrhHqkFHA.3568@TK2MSFTNGP10.phx.gbl...
>
>
| |
| Mark Schupp 2005-07-29, 6:00 pm |
| When you run the page from the web site (not from the file system) in your
browser (not inside DW) and view source what do you see (post it here)?
--
--Mark Schupp
"Jacky Luk" <jl@knight.com> wrote in message
news:ObJsl6ClFHA.2444@tk2msftngp13.phx.gbl...
> Thanks for responding.... I can see the little tag marked on the page when
> being previewed inside DW...
>
> "Mark Schupp" <notvalid@email.net>
> 撰寫於郵件新聞:O4DF$8rkFHA.320@TK2MSFTNGP09.phx.gbl...
>
>
|
|
|
|