When I have a form like this:
<form method="post" action=".">
What does the "." in action stand for?
The action attributes tell the form where to post the form data to.
. Stands for current directory, so I would say this posts to the default document in the current directory.
There are several notations for relative paths:
.. stands for parent directory. stands for current directory/ stands for root directory if the URI starts with it/ stands for child directory if the URI does not start with itIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With