
hy list
I would like to ask if i can make a subscripting form, asking more data from the user like adress, profession, phone number etc... to store in a database ?

Angelo Marcos Rigo wrote:
hy list
I would like to ask if i can make a subscripting form, asking more data from the user like adress, profession, phone number etc... to store in a database ?
that should be possible, but it will involve some programming work on your part. i don't know python, so i would do it with php and mysql.
look at the mailman subscription page:
... <form Method=POST ACTION="../subscribe/linux-audio-announce"> ... <b><font COLOR="#000000">Subscribing to linux-audio-announce</font></b> ... <td BGCOLOR="#dddddd" WIDTH="55%">Your email address:</td> <td WIDTH="33%"><input type="Text" name="email" size="30"> ... <td BGCOLOR="#dddddd">Pick a password:</td> ... <td BGCOLOR="#dddddd">Reenter password to confirm:</td> <td><input type="Password" name="pw-conf" size="15"></td> ... <center><input type="Submit" name="email-button" value="Subscribe"></p></center> ...
</form>
all you need to do is replace it with a php page that a) asks for all the data you need b) stores it in a database (which is quite trivial when you have the php manual and know a little SQL, if not, i'd recommend to shop at o'reilly's or to look on freshmeat for a simple php database application to loot) and is followed by another php page that sends the data needed by mailman to ../subscribe/linux-audio-announce.
good luck,
jörn
participants (2)
-
Angelo Marcos Rigo
-
Joern Nettingsmeier