CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:
Adding referer to email script


New User

Mar 12, 2002, 10:01 PM

Post #1 of 2 (1769 views)
Adding referer to email script Can't Post

I just broke down and bought a script that will accept email attachments in a form. I also need to get the referal page in the body of the email so that I know where it is coming from.

The script is attached, I am thinking that it should just be a matter of adding something like:


Am I off base here? Can't get it to work.


Attachments: attach_formmail_v3.ZIP (11.0 KB)


Mar 13, 2002, 5:41 AM

Post #2 of 2 (1764 views)
Re: [Aboo] Adding referer to email script [In reply to] Can't Post

$ENV{'HTTP_REFERER'} might contain the data. So you can use it if present.

Enviroment variables might not be filled or used by some webservers. Also, if this value contains something, it is what the browser wants you to believe the referer is. There is no guarantee.

Yet Another Perl Programmer

~~> [url=] <~~
More then 3500 X-Forum [url=]Downloads! Cool


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives