Web Hosting Talk







View Full Version : bnb form question


horoscopes2000
09-06-2001, 09:18 AM
Does anyone know why this is happening?

If firstname.lastname@crsrehab.com.au completes the form, and I want to reply to their message, when I hit reply the address is appended thus firstname.lastname@crsrehab.com.au.millenium-online.com

millenium-online.com is the name of the server.

This seems to happen with a lot of addresses, usually if they are malformed , such as @ayhoo.com but why so frequently with addresses such as this?

Anyone know why this is?

This form is bignosebird.com's bnbform, which is otherwise excellent

Jm4n
09-06-2001, 09:26 AM
Most likely, the dot in the username is what's breaking it. The script probably sees the '.' as invalid, or it just plain chokes on it.

In an effort to be a smart script, if you leave off the hostname (or if for some odd reason it *thinks* you did), it apparently appends the local hostname.

I'd look into the script, looking for the section that does email validation, or perhaps write the author. I'm familiar with many of his scripts, and they are generally well written...

horoscopes2000
09-06-2001, 11:30 AM
Ah, thanks for the reply. At first i tohught it was my new server, because it happened just about the time I moved to a dedicated.

Then I remembered I changed all my forms at the same time (from frontpage to cgi), then I realised these forms don't even get sent to an email address hosted on my RaQ - they go straight to my ISP's.

So, it must be the form. Thanks for your help, I appreciate it, and will see if I can emand the script myself.