Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mailman - Adding new subscribers via web using PHP




On Oct 8, 2007, at 7:23 PM, Finlay Dobbie wrote:

On 08/10/2007, Steve Savery <email@hidden> wrote:
As I have been unable to locate the CGI documentation (am I missing
something glaringly obvious?)

Yes. It's not really documented, but you could easily set up your own form which just sends the same variables to the Mailman subscribe page.

For example, go to
http://lists.apple.com/mailman/listinfo/macos-x-server and look at the
page source. The relevant bits are probably:

    <FORM Method=POST
ACTION="http://lists.apple.com/mailman/subscribe/macos-x-server";>
<INPUT type="Text" name="email" size="30" value="">
<INPUT type="Text" name="fullname" size="30" value="">
<INPUT type="Password" name="pw" size="15">
<INPUT type="Password" name="pw-conf" size="15">
<input type=radio name="digest" value="0" CHECKED> No
	    <input type=radio name="digest" value="1">  Yes
<INPUT type="Submit" name="email-button" value="Subscribe">
    </FORM>

I don't know if Mailman stops you from submitting that from a
non-mailman URL, however - it probably should if it doesn't.

The downside is that you'd get a less useful stock Mailman
confirmation page at the end and generally have less control over the
flow of user interaction. It wouldn't work for what I needed to do :o)


No it works just fine. We have several sites that use their own form and just call out the mailman cgi for processing. It has the advantage of working w/o any exec or sudo'ing security concerns.


Thank's Finlay for explaining the above, I've been pressed for time as of late.

-dhan

------------------------------------------------------------------------
Dan Shoop <email@hidden>
Tactical Operations Center: 1.866.901.8787 (24x7)
Ph: 714.363.1174
AIM: iWiring



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >Mailman - Adding new subscribers via web using PHP (From: "Steve Savery" <email@hidden>)
 >Re: Mailman - Adding new subscribers via web using PHP (From: "Finlay Dobbie" <email@hidden>)
 >Re: Mailman - Adding new subscribers via web using PHP (From: "Steve Savery" <email@hidden>)
 >Re: Mailman - Adding new subscribers via web using PHP (From: "Finlay Dobbie" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.