Need help with html |
Need help with html |
poe34 |
Apr 16 2012, 08:50 PM
Post
#1
|
Group: Members Posts: 2 Joined: 16-April 12 Member No.: 16,925 |
Hi, first post here!
I am currently taking a WBLS class and created a prototype for the class. There is something wrong with my code that won't allow the page to load, the address is correct however. Here is a link to the login page: http://gozips.uakron.edu/~dlp64/login.html You don't need a name or password since it's a prototype, you just click "login" and it should take you to the home page but it says: "The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access." If I highlight the address bar and click enter though it works so the address is displayed correctly in the address bar. Any help would be greatly appreciated! |
pandy |
Apr 16 2012, 09:54 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Works fine to go directly to the page. I'm not familiar with IIS but I suspect the problem is that you use the POST method for form. If you change to GET I think it'll work. Fingers crossed.
|
Frederiek |
Apr 17 2012, 01:50 AM
Post
#3
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
Or google for HTTP Error 405.
|
Brian Chandler |
Apr 17 2012, 03:49 AM
Post
#4
|
Jocular coder Group: Members Posts: 2,460 Joined: 31-August 06 Member No.: 43 |
Works fine to go directly to the page. I'm not familiar with IIS but I suspect the problem is that you use the POST method for form. If you change to GET I think it'll work. Fingers crossed. Hmm, but for any sort of "login" form, it's better to use POST than GET, because the password doesn't end up in server logs. It seems unlikely that this server somehow can't handle POST; traditionally this is written in capitals, so the first thing to try is "POST" not "post". You could also ask your admin or try using OPTIONS (see the http article: http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol ) to find out what it does support. Incidentally, the pixel-fixing table style really is an awful way to make web pages. |
poe34 |
Apr 17 2012, 07:49 AM
Post
#5
|
Group: Members Posts: 2 Joined: 16-April 12 Member No.: 16,925 |
"GET" worked! Thank you, thank you, thank you!!!
|
pandy |
Apr 17 2012, 09:01 AM
Post
#6
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Good!
Brian, it isn't a login form. It's just a dummy. The action is set to the URL of the page to go to. |
Brian Chandler |
Apr 17 2012, 01:52 PM
Post
#7
|
Jocular coder Group: Members Posts: 2,460 Joined: 31-August 06 Member No.: 43 |
QUOTE Brian, it isn't a login form. Well, on the page it says "Enter your login and password", and well, it's a form. If this is not a "login form", I'm a bit confused. Of course I can see it's probably not "important", but it might grow into something important, in which case using GET is a bad idea. QUOTE The action is set to the URL of the page to go to. Um, again, where else would you expect the form's action to point to but the page to be served when the form is submitted? |
pandy |
Apr 17 2012, 03:58 PM
Post
#8
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
To a script maybe. Anyway, the OP stated it was just for show.
|
Lo-Fi Version | Time is now: 19th April 2024 - 07:37 PM |