Question on submit and push buttons. and also the scripting language in HTML [closed]
Iam working on HTML.and As for now Im going well.But the thing I want to know is about the submit button.I have created user and password and a submit button and a register button.The basic question on my mind for now is, how and where the user names and password are stored and how they are retrieved back to check if they exist or no ? Where do they save the user names and passwords?
and How do i save the user name and the password that is entered through submit button in some other file? I have written perl scripts and c programs for saving and retreiving passwords using file concepts.开发者_如何学编程But how do i manage them in HTML.Do they also save these data in some file and search for the user and password using some python or perl script and send back the result? because searching and sorting techniques are powerful with the above scripts.I dont know how to use them in HTML and also the question is,can we use them in HTML?
Please let me know How to make it through.And can we also redirect to some links when we use click button and push buttons ?
Can we use scripting languages like perl in my HTML file if so how?
The <script>
element lets you embed any langage you like in an HTML document for client side processing.
The languages supported by browsers are:
- JavaScript (universal among browsers that support scripting at all)
- VBScript (Internet Explorer only)
- PerlScript (Internet Explorer with a plugin that ActiveState used to distribute)
- Perhaps some others with support that is about as common as that of PerlScript
So, effectively, client side you can use JavaScript and only JavaScript.
Server side, you can use any language you like. The webserver just needs to be able to communicate (and, while inefficient, CGI just depends on STDIN/OUT and environment variables).
精彩评论