![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm currently learning asp using IIS 5 (or is it 5.1?) on a standalone windows xp machine. I wrote some html code with a form that posted to an asp file. After much head-scratching I found out that rather than simply write something like form action="page.asp" ... as I would with an html file. I had to fully qualify the location of the asp file like: form action="http:\\my_pc\page.asp" ... Is this right? I've looked at how it's done on other web pages and they don't have to do anything like this, they just do what I did in the first line of code. I don't yet have anywhere to put my pages apart from my local machine, but it'll be a nuisance if I have to use refs like "http:\\my_pc\page.asp" and then change them all to simply "page.asp" |
#3
| |||
| |||
|
|
I'm currently learning asp using IIS 5 (or is it 5.1?) on a standalone windows xp machine. I wrote some html code with a form that posted to an asp file. After much head-scratching I found out that rather than simply write something like form action="page.asp" ... as I would with an html file. I had to fully qualify the location of the asp file like: form action="http:\\my_pc\page.asp" ... Is this right? I've looked at how it's done on other web pages and they don't have to do anything like this, they just do what I did in the first line of code. I don't yet have anywhere to put my pages apart from my local machine, but it'll be a nuisance if I have to use refs like "http:\\my_pc\page.asp" and then change them all to simply "page.asp" |
#4
| |||
| |||
|
|
After much head-scratching I found out that rather than simply write something like <form action="page.asp" ...> as I would with an html file. I had to fully qualify the location of the asp file like: form action="http:\\my_pc\page.asp" ... |
#5
| |||
| |||
|
|
I'm currently learning asp using IIS 5 (or is it 5.1?) on a standalone windows xp machine. I wrote some html code with a form that posted to an asp file. After much head-scratching I found out that rather than simply write something like form action="page.asp" ... as I would with an html file. I had to fully qualify the location of the asp file like: form action="http:\\my_pc\page.asp" ... Is this right? I've looked at how it's done on other web pages and they don't have to do anything like this, they just do what I did in the first line of code. I don't yet have anywhere to put my pages apart from my local machine, but it'll be a nuisance if I have to use refs like "http:\\my_pc\page.asp" and then change them all to simply "page.asp" |
#6
| |||
| |||
|
|
I'm currently learning asp using IIS 5 (or is it 5.1?) on a standalone windows xp machine. I wrote some html code with a form that posted to an asp file. After much head-scratching I found out that rather than simply write something like form action="page.asp" ... as I would with an html file. I had to fully qualify the location of the asp file like: form action="http:\\my_pc\page.asp" ... Is this right? I've looked at how it's done on other web pages and they don't have to do anything like this, they just do what I did in the first line of code. I don't yet have anywhere to put my pages apart from my local machine, but it'll be a nuisance if I have to use refs like "http:\\my_pc\page.asp" and then change them all to simply "page.asp" |
#7
| |||
| |||
|
|
"as mellow as a horse" <mail (AT) MICKmoss42 (DOT) fslife.co.uk> wrote in message news:c7mi6e$8ot$1 (AT) newsg3 (DOT) svr.pol.co.uk... I'm currently learning asp using IIS 5 (or is it 5.1?) on a standalone windows xp machine. I wrote some html code with a form that posted to an asp file. After much head-scratching I found out that rather than simply write something like form action="page.asp" ... as I would with an html file. I had to fully qualify the location of the asp file like: form action="http:\\my_pc\page.asp" ... Is this right? I've looked at how it's done on other web pages and they don't have to do anything like this, they just do what I did in the first line of code. I don't yet have anywhere to put my pages apart from my local machine, but it'll be a nuisance if I have to use refs like "http:\\my_pc\page.asp" and then change them all to simply "page.asp" Sorry to confuse some of you with some points. *ALL* of the pages are in C:\inetpub\wwwroot. This is the root directory as used by IIS as when I just type http:\\localhost, it redirects to localstart.asp as I haven't yet got a default page of my own as I'm only new to ASP and IIS. Where I've put "http:\\my_pc\page.asp", "my_pc" is literally the name of my pc, so you could substitute "http:\\localhost\page.asp" to the same effect. I got my "//" and "\\" mixed up in the OP as I had to type it in asI'm using frontpage, and when I tried to copy and paste to do this post, it came out as html. What happens when I just use "form action= page.asp" instead of "form action = http:\\my_pc\page.asp" is that Win XP puts up a 'download file' requestor as if I'd put "form action= XXX.exe" or something. And as I'm linking from one file in C:\inetpub\wwwroot to another in the same directory, a relative URL should work, surely? |
![]() |
| Thread Tools | |
| Display Modes | |
| |