Community Support Forums — WordPress® ( Users Helping Users ) — 2012-01-18T14:12:07-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=16864 2012-01-18T14:12:07-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16864&p=60909#p60909 <![CDATA[Re: PHP code after post/page success shortcode]]> $_GET['<query_var>']:

Code:

<?php
echo "This is the access URL: " $_GET['sp_access_url'];
?>

Statistics: Posted by Raam Dev — January 18th, 2012, 2:12 pm


]]>
2012-01-15T15:34:16-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16864&p=60605#p60605 <![CDATA[PHP code after post/page success shortcode]]>
I am hitting a mental road block today and I need your help.

I am selling access to a specific post page and I have a success= shortcode variable which is working perfectly after the purchase.

Here is my code (sanitized)

Code:
success="http://www.mysite.com/sandbox-thank-you-page/?sp_access_url=%%sp_access_url%%"


On my thank you page, what is the php code to grab the ?sp_access_url=%%sp_access_url%% that is being sent with a successful transaction?

Basic I know, but I can't get it working today. To the coffee pot!

Thanks for your help!

Statistics: Posted by sensei — January 15th, 2012, 3:34 pm


]]>