ListMailPRO Email Marketing Software Forums

ListMailPRO Email Marketing Software Forums => General Help & How-To => Topic started by: rwlms on June 22, 2006, 08:51:14 am

Title: Setting up CGI scripts
Post by: rwlms on June 22, 2006, 08:51:14 am
Hey folks this is scary stuff. One wrong move and ...

Here's the instructions:

1. Modify each script to contain your ListMail URL. In the case of signup scripts, set the $list variable to the list you want to subscribe to.

Can I assume "$list" means the name of the list?

Must I have already created the list for this to work?

Help!

Thanks.

Roger
Title: Setting up CGI scripts
Post by: DW on June 22, 2006, 03:51:39 pm
Quote
1. Modify each script to contain your ListMail URL. In the case of signup scripts, set the $list variable to the list you want to subscribe to.
Can I assume "$list" means the name of the list?

No, $list is a PHP "variable"...  The line that is being referred to is as follows:
Code: [Select]
# single list
$list = '1';

Simply change the "1" to the number of the list you want to subscribe to by email.  Note that you can also accept subscribers from a form on your web site. Example HTML can be generated on the "List Settings" -> "Signup Code" page.
Quote
Must I have already created the list for this to work?

Yes, in order to accept signups the list should already be created.

Regards