[Mailman-Users] Access subscription list via PHP?

Justin Alcorn justin at jalcorn.net
Tue Apr 27 18:44:02 CEST 2004


Sean Robertson said:
> I have a PHP form set up that I'd like to be able to use to subscribe
> people
> to the mailing list.  The problem is tha they might already be signed up
> to
> the list, so just sending an email to the listserve is not a very clean
> solution.  Is there any way to access the memberlist via PHP and find out
> if
> someone has already signed up or not so it doesn't try to do it again if
> they already have?
>
>

call list_members and capture the output.


$members = `/usr/local/mailman/bin/list_members mylist`;
// find the member...



-- 
The universe is ruled by letting things take their course. It cannot be
ruled by interfering. -- Chinese proverb
JaBbA's hut: http://jalcorn.net




More information about the Mailman-Users mailing list