Viral URL

I'm trying to replicate this tutorial:
http://www.campaignmonitor.com/blog/post/3431/tutorial-how-to-create-a-viral-social-media-email-subscribe-form/

I am unable to get the confirmation page to display the unique URL, as defined in the PHP $_SESSION['id'] The ref also doesn't appear for the successful subscriber in the campaign manager. All that is shown is <?=$_SESSION['name']?>

It might be that I haven't set up PHP correctly or I am missing something in the PHP session before the head tag.

Could somebody please tell me why I'm being such a fool?
Many thanks!

roshodgekiss roshodgekiss, 5 years ago

Hi isleofman, welcome to the forums! Any chance you could post the PHP that you're using in the head section of your HTML code? It might be worth checking your PHP config as well, ie. test and see if other pages (or even a WordPress install) are behaving properly.


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098