English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I was watching my golive video and i created a login form, and it asked to name each field for the cgi script writer? I named each field, but my server doesn't have a cgi-bin On the internet i read you modify the vsadmin/inc/inclientlogin.php? I don't have such a file, i'm using wamp localhost/phpmyadmin/ and golive cs2 what do i do?

2006-10-21 10:54:00 · 1 answers · asked by author 2 in Computers & Internet Programming & Design

1 answers

PHP is an alternative (and a better one at that) to using cgi/bin. Since you're coding a form, the same general ideas will work. However, in order to understand what your _script will need, you'll need to learn the basics of php.

Without getting too indepth, your form needs to specify the php script as the action="yourform.php" method="post" ...

In the php form, the value of the form elements will be available in an array variable called $_POST[].

So if you had a variable of name="firstname", the set value for that form element will be in: $_POST['firstname'].

2006-10-21 11:16:29 · answer #1 · answered by Gizmo L 4 · 0 0

fedest.com, questions and answers