PHP email form problem
Posted: Thu Jan 01, 2004 3:59 pm
Hi
I've got a very useful PHP email script - http://www.gospelcom.net/guide/resources/formcode.phps
to which I would like to add the ability for the email to me from site visitors, to include the URL of the referring page they came from. This puts their email in context so it makes more sense.
I have tried all sorts of things on the recommendation of friends, but because the page is essentially three pages in one, it always gives its own URL as the referrer.
If anyone can see a way of doing this - even it is just to drop the URL visibly into the text area, I'd be very grateful.
Thanks
Tony
I've got a very useful PHP email script - http://www.gospelcom.net/guide/resources/formcode.phps
to which I would like to add the ability for the email to me from site visitors, to include the URL of the referring page they came from. This puts their email in context so it makes more sense.
I have tried all sorts of things on the recommendation of friends, but because the page is essentially three pages in one, it always gives its own URL as the referrer.
If anyone can see a way of doing this - even it is just to drop the URL visibly into the text area, I'd be very grateful.
Thanks
Tony