how can I use safely of action="" in form html tag ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how can I use safely of action="" in form html tag ?

when we use for example action="name.php" in <form>, the haker can see the filename php and he can find file location. however, how we can hide/encode this filename?

3rd Apr 2020, 8:05 PM
Mostafa
2 Answers
0
We cannot. We could only be careful that our servers are safe (enough protections against hacking) ^^
3rd Apr 2020, 8:21 PM
visph
visph - avatar
0
lol I know but I see the same of sites this code chagned for example I see action="/web/", what is means this code?
3rd Apr 2020, 8:24 PM
Mostafa