|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi
I have two addresses for basically the same site.http://www.lentin.freeuk.com and http://www.olivegrove-travel.com The Freeuk site was what I used before we got our own website address, but it is so high on all search engines apart from Google that I don't really want to take it off. The problem that I have is to do with form submission. I am receiving the forms sent by users of "Olivegrove" but not those using "Freeuk". Could you please view source and tell me what I have done wrong. The other problem that I have is that when I receive email from the "Olivegrove" site, the email address that appears is " webmaster@www.olivegrove-travel.com (www.olivegrove-travel.com sending on behalf of '') ". Would it be possible to also put me right on this so that I receive the proper email address only. Thanks for your help in advance. |
|
|||
|
Really sorry. It's the boookings page on both sites that have the form.
Regards What a plonker I am |
|
|||
|
Hi lentin,
it is likely the send mail CGI script you are using calls a &check_url; subroutine. Meaning that if the script is called from a different domain, other than the one configured into the script, well, the script will not execute. This is so people can not use and abuse your script from their own sites. If you do have such a subroutine, you probably have an array within your script something like this Code:
@referers = ('olivegrove-travel.com','000.000.00.0');
You should be able to get away with just adding the other domain to the array like so... Code:
@referers = ('olivegrove-travel.com','lentin.freeuk.com','000.000.00.0');
I may not be to clear with your second question, again I'm assuming. Are you saying that the actual return address does not appear correctly, in order to reply to the sender? Whatever the case, that would be more difficult to comment on without seeing the actual script and how it coincides with the form data... Jim
__________________
PBI Tech James R Michael. Internet Development And Marketing. |
|
|||
|
Thanks for that, I will check the script and come back and let you know the result.
Thanks again |
|
|||
|
I thought it would be easier to re-direct anyone who wants to make a booking to the proper site, so that's what I've done.
You were right in your post, but the part of my brain needed to change it is in the 90%. Thanks again Len |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |