Author Topic: Forward To URL... Can we pass variables?  (Read 2152 times)

BoomPop

  • Posts: 18
    • View Profile
Forward To URL... Can we pass variables?
« on: May 28, 2008, 01:19:13 pm »
I don't think there's been a definitive answer on this... is it possible to pass along variables/data to the "Alternately, enter a URL to forward the user to" URL?  Something like:
Code: [Select]
http://www.mysite.com/listmail/thankyou.php?name=!fname&email=!email
I know that the xtra-php thingy is available, but probably over my head. :)

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Forward To URL... Can we pass variables?
« Reply #1 on: May 29, 2008, 09:45:06 am »
No, this is currently not possible.  You should, however, be able to use the included signup-xtra.php file to accomplish this.
Code: [Select]
if($list=='1'){
 header('Location: /mypage?e='.urlencode($email));
 exit;
}

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

BoomPop

  • Posts: 18
    • View Profile
Forward To URL... Can we pass variables?
« Reply #2 on: May 29, 2008, 01:22:08 pm »
Hmm. that's very interesting and COOL! thanks for the reply, Dean!