DreamHost Announcement Lists integration with PHP

software development

#1

Hi, I run a site called BestEverAlbums.com and I’m wanting to integrate the DreamHost annoucement mailing list into my site in a seamless way.

Basically, I want a field within the user profile on my site to say “I’d like to subscribe to occasional site newsletters Y/N” and if the user responds yes, to then invoke Dreamhost’s add_list.cgi script (and if no, to unsubscribe from the list if they are already subscribed.)

Ideally, I’d like to include the field as part of my site’s member-profile page (which on my site is part of phpBB.) Does anyone know if there is a way of forwarding on the relevant fields to the add_list.CGI script from within PHP?

Jon


#2

You might want to review this previous forum thread, which provides a working example of how to integrate announcement list activities into your existing site with PHP. :wink:

–rlparker


#3

thanks - very useful.

Jon


#4

You are welcome, and don’t hesitate to share what you built! :wink:

–rlparker