I tried updating the mod.member_register.php to redirect after registration as shown below:
$data = array( 'title' => $LANG->line('mbr_registration_complete'),
'heading' => $LANG->line('thank_you'),
'content' => $LANG->line('mbr_registration_completed').$message,
'redirect' => "http://www2.testing.com/l/51/2008-05-06/CF6F?email=".$data['email']
."&firstname;=".$cust_fields['m_field_id_1']."&lastname;=".$cust_fields['m_field_id_11'],
'link' => array($return, $site_name)
);I changed the values of redirect… which seemed to work fine as the meta-refresh on success page is correctly specified.
However, for some reason… the value of redirect is changed/encoded into somethng like…
<a href="http://www2.testing.com/l/51/2008-05-06/[email protected]&firstname=allan&lastnametan">http://www2.testing.com/l/51/2008-05-06/[email protected]&firstname;=allan&lastname;tan</a>The value in firstname=allan had a semicolon just before equal sign… looks like some encoding is performed.
Anybody care to explain and show how it should be done properly.