LEVEL 7 - question about forms!!!

SETSUNA [setsunamai12345]
4 years ago | edited 4 years ago

0

hi, newbie here.

I don’t understand how you can store a password without a direction. For instance, when we say

….Here, we are telling the form what to do, and where to go next, like a pointer.

In case 7, I can’t find any POINTERS, so how exactly is the code evaluated??

5replies
4voices
229views
fred [feuerstein]
4 years ago

0

this is simple :) when no action is defined it is calling the same url again with the specified method, so in this example it sends a POST-Request to the level-page, which evaluates the posted data on the server (in PHP f.e.)


0

thank you for taking the time to answer my question. <3 :D

is there an article or a site that describes this in a bit more detail?

you see, i just kind of started, so I have the basics, but apparently not for this site (which is good)….

dloser
4 years ago

0

If you look up information on the form tag and specifically the relevant attributes, proper resources should mention the default values. That said, I just tried this and didn’t find it immediately. If in doubt, check the specification; it should always be in there.

https://www.w3schools.com/html/html_forms.asp
https://developer.mozilla.org/en-US/docs/Learn/HTML/Forms/Sending_and_retrieving_form_data
https://www.w3.org/TR/html52/sec-forms.html#form-submission-algorithm

I guess it is a good example of how to do thorough research. Just superficially looking up info might not give you all that you need. ;)

The values in the level 2 page have no real meaning other than allowing you to find the solution. It is the script on the server (which you cannot see) that has these same values stored somewhere to compare your submission with.

B.t.w., please remove the spoilers from your post (two challenges spoiled!). :)


0

thanks!!

spoliers removed.

THANKS!!

dimooz
4 years ago

0

If you’re still stuck, think to read the hint again. (and again).

You must be logged in to reply to this discussion. Login
1 of 6

This site only uses cookies that are essential for the functionality of this website. Cookies are not used for tracking or marketing purposes.

By using our site, you acknowledge that you have read and understand our Privacy Policy, and Terms of Service.

Dismiss