开发者

Question on submit and push buttons. and also the scripting language in HTML [closed]

开发者 https://www.devze.com 2023-03-21 23:52 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

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).

0

精彩评论

暂无评论...
验证码 换一张
取 消