Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Problems with subscribe.cgi

Quote Reply
Problems with subscribe.cgi
Hi.

There seems to be something rather wrong with my subscribe.cgi. Until a few minutes ago it would overwrite the list.db with every subscribtion (i.e. the list would always consist of exactly one line), but I fixed that by replacing (in sub subscribe)
open (LIST, ">$list")
with
open (LIST, ">>$list")
So now subscribers actually get entered and stay there.

But still, problems remain. people can't unsubscribe because their address is not in the list, or so the system says. But a look into email.db shows me that they are.

I have not previously changed anything in this file. Any ideas what is wrong here?

Oh, and another question, I want to add a variable to the globals array that is passed to the templates. How would I go about that? I have to read in a file and insert it into each page (how I do that does not matter, but globals strikes me as the most practical way).

Thank you,

_ Lasar

Subject Author Views Date
Thread Problems with subscribe.cgi lasar 2990 Aug 8, 2001, 9:55 AM
Post Re: Problems with subscribe.cgi
QooQ 2904 Aug 8, 2001, 10:39 AM
Post Re: Problems with subscribe.cgi
Thomas. 2895 Aug 8, 2001, 10:41 AM
Thread Re: Problems with subscribe.cgi
Paul 2885 Aug 8, 2001, 11:33 AM
Thread Re: Problems with subscribe.cgi
lasar 2869 Aug 9, 2001, 2:14 AM
Post Re: Problems with subscribe.cgi
QooQ 2845 Aug 9, 2001, 6:47 AM