[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Newbie Question- New Server -Form to Email Problem



Joseph Ambrose wrote:

> Thanks.... form mail seemed to work, but I have to add the domain everytime.
> 
> I tried adding the IP address because I'm virtually hosting, but no go....

If you read the code you'll see that all he's doing is looking at the
html header and comparing it against referers.  So in other words the
only reason to use the IP# is if you've got a separate one for each
domain, as then people can use the IP# in the url box on their browser,
as well as the domain name.

> so I will have
> to add each domain.  Do you know of a way to comment out that section? 

Yes.

> Will it work.

Yes, but it will make your box an effective spam-relay in relatively
short order.  That's why Matt added the code.

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
nobaloney.net
P. O. Box 52672
Riverside, CA  92517
voice: (909) 787-8589  *  fax: (909) 782-0205