Author Topic: Setting up CGI scripts  (Read 1352 times)

rwlms

  • Posts: 12
    • View Profile
Setting up CGI scripts
« 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

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Setting up CGI scripts
« Reply #1 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
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting