PDA

View Full Version : Environment variable for an HTML page title?


Opally
08-23-2007, 03:50 PM
Hi.

I'm having some fun messing around with my ancient form processing scripts (trying to update them) and getting MIME::Lite working like I wish. Then it will be time to tackle replacing my deprecated data parser with CGI.pm.

Is there an environmental variable that returns the HTML page title of the referring page?

my script tucks this into the report that goes to the admin, but I was thinking it would be nice to include the title of the referring page as well.

$email_body .= "On $current_date, the following data was submitted from $ENV{'HTTP_REFERER'}";

thanks for the help!

---Opally