We can use Dreamweaver to design our webpage. In general, we are a dynamic webpage, that is, we can submit data and query what we want, not just browsing, in the embedded system, I use the Boa web service to call CGI.ProgramTo achieve interaction, if we call CGI, it is a very basic and critical issue. This was never done before, and now we finally know what is going on.
Key point: I use forms to call CGI. Of course, you have other methods to call CGI, but the common method is CGI. in the insert Toolbar of Dreamweaver, select a form and select form (f) in the pop-up sub-menu ), in this way, you can use this form to submit data and choose to call your cgi program. In this form, you can add the controls you want, such as text boxes and buttons, now, you switch to yourCodeMode: enter your cgi program on the action of your form.
Example:
<% @ Language = "JavaScript" codePage = "936" %>
untitled document
<Body>
<Div id = "layer1">
<Form ID = "form1" name = "form1" method = "Post" Action = "passwd. cgi">
<P> User:
<Input type = "text" name = "textfield"/>
</P>
<P> pawd:
<Input type = "text" name = "textfield2"/>
</P>
<P>
<Input type = "Submit" name = "Submit" value = "Submit"/>
</P>
</Form>
</Div>
</Body>
</Html>