Jump to content

How to add SESSION variable to Contact form message?


Recommended Posts

Hi,

I got affiliate system which remembers the affiliate partner via $_GET parameter in URL, so I added the $_SESSION['a']=$_GET['a']; to footer.php - that should work.

Now, some customers order via email - via contact form on website. I want to add the partner ID (this SESSION) to Message OR subject of that mail. How do I do it? I tried to dig around the contact-form.php and mail.php in classes but I am not any smarter than I was. :(

Link to comment
Share on other sites

×
×
  • Create New...