Документация
HTML CSS PHP PERL другое
Creating a Custom Form Handler
 
Table of Contents Previous Next

Creating a Custom Form Handler

You can also set up a form to save results using a custom form handler. A form handler is a program on a server that is executed when a site visitor submits a form. You can use your custom script (ISAPI, NSAPI, CGI, or ASP Script) as a form handler.

Create a Custom Form Handler

graphics/1_icon.jpg

Click the Folders button on the Views bar.

graphics/2_icon.jpg

Right-click the folder that contains the script, and then click Properties on the shortcut menu. A dialog box opens containing the name of your page followed by the word Properties.

graphics/3_icon.jpg

Select the Allow Scripts To Be Run check box.

graphics/4_icon.jpg

If you want other users to be able to view files in your directory, select the Allow Files To Be Browsed check box.

graphics/5_icon.jpg

Click OK.

graphics/6_icon.jpg

Click the View menu, and then click Page.

graphics/7_icon.jpg

Right-click the form, and then click Form Properties.

graphics/8_icon.jpg

Click the Send To Other option, click the list arrow, and then click Custom ISAPI, NSAPI, CGI, or ASP Script formats.

graphics/9_icon.jpg

Click Options.

graphics/10_icon.jpg

Click the Method list arrow, and then select one of the following formats for submitting data to the form handler:

  • Get. Encodes the form's name-value pair and assigns the data to a server variable named Query_String.

  • Post. Passes the name-value pair to the form handler as input.

  • Default. Leaves the Encoding Type text box empty.

graphics/11_icon.jpg

Click OK.

graphics/12_icon.jpg

Click OK.

    Table of Contents Previous Next
    Главная
    html
    css
    programming
    Веселов
    Высоцкий
    Искусство
    Goryunova
    Blok
    Булгаков