ASP Script
#1
Scooby Regular
Thread Starter
Join Date: Feb 2002
Location: Lurkin Somewhere
Posts: 7,951
Likes: 0
Received 0 Likes
on
0 Posts
How can we test this following code on a PC without having to be online
<%@ Language=VBScript %>
<html>
<head>
<META NAME="GENERATOR" Content="Microsoft FrontPage 5.0">
<TITLE>Extremely Simple HTML</title>
</head>
<BR>
<CENTER>
This is a test page:
<BR>
<form name="formTest" METHOD="POST" action="Test.asp">
<input type="text" name="Text1" value = "" size="20">
<input type="submit" name="Submit" value="Submit the *******">
</form>
</CENTER>
<%
Document.Write "Request(Text1) = " & Request("Text1") & <BR>
Document.End
%>
</body>
</html>
Si
<%@ Language=VBScript %>
<html>
<head>
<META NAME="GENERATOR" Content="Microsoft FrontPage 5.0">
<TITLE>Extremely Simple HTML</title>
</head>
<BR>
<CENTER>
This is a test page:
<BR>
<form name="formTest" METHOD="POST" action="Test.asp">
<input type="text" name="Text1" value = "" size="20">
<input type="submit" name="Submit" value="Submit the *******">
</form>
</CENTER>
<%
Document.Write "Request(Text1) = " & Request("Text1") & <BR>
Document.End
%>
</body>
</html>
Si
#2
Scooby Regular
Join Date: Sep 2001
Location: Kingston ( Surrey, not Jamaica )
Posts: 4,670
Likes: 0
Received 0 Likes
on
0 Posts
run a webserver on the local machine that listens on 127.0.0.1
change the hosts file to spoof 127.0.0.1 to the url you are attempting to connect to.
Steve
change the hosts file to spoof 127.0.0.1 to the url you are attempting to connect to.
Steve
#4
What OS are you running?
Download Personal Web Server if 95/98. You'll find this in, bizarrely, the Windows NT4 option pack
Install that and you can run ASP locally.
Make the changes above too.
Download Personal Web Server if 95/98. You'll find this in, bizarrely, the Windows NT4 option pack
Install that and you can run ASP locally.
Make the changes above too.
#5
and if running Win NT4, you need the option pack. If running Win2k, just install IIS from the "Windows components" part of Add/remove programs in Control Panel.
Don't forget to get Nimda patches for Winnt or 2k otherwise you'll find yourself virused pretty quickly...
Don't forget to get Nimda patches for Winnt or 2k otherwise you'll find yourself virused pretty quickly...
#7
Right, go to settings, control panel, then add/remove programs, then click on "Add/Remove windows components". You want to install Internet Information Services (IIS) - not all of it though.
Click on details, then select documentation, common files, documentation, Internet Information Services snap-in, Web Server.
Once installed you will be suseptable to the Nimda virus.
Re-apply service pack 2, and download this hotfix from Microsoft then install it.
Put that file in /inetpub/wwwroot, or alternatively go to internet information services that's now found in Adminstrative tools and point your home directory of the web service at your web development directory.
Any use?
Click on details, then select documentation, common files, documentation, Internet Information Services snap-in, Web Server.
Once installed you will be suseptable to the Nimda virus.
Re-apply service pack 2, and download this hotfix from Microsoft then install it.
Put that file in /inetpub/wwwroot, or alternatively go to internet information services that's now found in Adminstrative tools and point your home directory of the web service at your web development directory.
Any use?
Trending Topics
Thread
Thread Starter
Forum
Replies
Last Post