View Full Version : No HTTP_REFERER
mountainman
02-27-03, 09:25 PM
Hey everyone:
I am trying to get my mail form to send email when filled out, but it keeps shooting me to this error:
No HTTP_REFERER
Any ideas ? I can't figure it out. I have the path that it is supposed to post to, the email to send it to, and the website it should go to afterwards. I can't figure out what this is.
Thanks ! :)
Immortal
02-27-03, 10:50 PM
I know what u're talking about but I don't know how to make it work...
Can I see the code of how u do all this? I kinda forgot.. haven't done much of html lately... frontpage spoiled me..
mountainman
02-28-03, 01:12 PM
Originally posted by Immortal
I know what u're talking about but I don't know how to make it work...
Can I see the code of how u do all this? I kinda forgot.. haven't done much of html lately... frontpage spoiled me..
Here is the page, dude:
http://www.limawebdesigns.com/contact.htm
When you fill out the form, it goes to that "no HTTP_REFERER" error. I did everything I thought I needed to do. It worked on Jumpinduo.com.
Grrr....
cyberskye
02-28-03, 01:57 PM
You'd get that error if someone doesn't want you linking directly to anything beyond their homepage. Sites do this to force you to their page first so they can blast you with ads. I also believe that http_referer (by default) is only sent when the link is relative. You could probably send it as a value of the post but I have never tried that. I have also read that you can have some problems when you are working with javascript
You said the same code works for another site - are they hosted by the same outfit? Might be sever configuration, too.
I just sent a message from "blah blah" with no apparant problems. Verify that your form field names match the names in the mail program exactly.
<form name="form1" method="post" action="http://users.abac.com/cgi-bin/mail.pl">
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td width="26%"><div align="right"><em><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="Recipient" type="HIDDEN" value="info@limawebdesigns.com">
</font><font size="2" face="Arial, Helvetica, sans-serif">name:</font></em></div></td>
<td width="74%"><font size="2" face="Arial, Helvetica, sans-serif">
<input name="name" type="text" id="name" size="30">
</font></td>
</tr>
<tr>
<td><div align="right"><em><font size="2" face="Arial, Helvetica, sans-serif">email:</font></em></div></td>
<td><font size="2" face="Arial, Helvetica, sans-serif">
<input name="email" type="text" id="email" size="30">
</font></td>
</tr>
<tr>
<td><div align="right"><em><font size="2" face="Arial, Helvetica, sans-serif">phone:</font></em></div></td>
<td><font size="2" face="Arial, Helvetica, sans-serif">
<input name="phone" type="text" id="phone" size="30">
</font></td>
</tr>
<tr>
<td><div align="right"><em><font size="2" face="Arial, Helvetica, sans-serif">comment
or <br>
question:</font><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="location" type="hidden" id="location3" value="http://www.limawebdesigns.com/thankyou.htm">
</font></em></div></td>
<td><font size="2" face="Arial, Helvetica, sans-serif">
<textarea name="comment" cols="25" id="comment"></textarea>
</font></td>
</tr>
<tr>
<td> </td>
<td><input name="send" type="submit" id="send" value="send message">
<input name="clear" type="reset" id="clear" value="clear">
<font size="2" face="Verdana, Arial, Helvetica, sans-serif">
</font></td>
</tr>
</table>
</form>
mountainman
02-28-03, 03:31 PM
Thanks Tony !!!
I checked my email and there were 2 emails. I'm like WTF !?!?!
Then it hit me. LOL
Thanks a ton man. :)
mountainman
02-28-03, 03:36 PM
Originally posted by TonyT
I just sent a message from "blah blah" with no apparant problems. Verify that your form field names match the names in the mail program exactly.
The only problem with that is the mail file is a generic one that is provided by the webhost. It SHOULD be able to do it. I have the fields named the same as those of my Jumpinduo.com website and it works OK.
Hmm...
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.