Home > > Coreg

Sent Coreg Data To Autoresponder (5)


10-14-2011 12:30 AM #1 successliv (Member)
Sent Coreg Data To Autoresponder

I am setting up my first coreg following bbrock's insightful thread "Introduction to Coreg - Step by Step Guide."

The only issue I am having is passing the data (first name, email and phone) to my autoresponder. I have put the autoresponder form in the step2.php file with hidden fields and a java submit form on load.

I can't figure out what PHP code I should use for the data. For example:

<input type="hidden" name="u_firstname" value="<?PHP echo $_POST['first_name']; ?>">

I have tried every combination I can think of including using the $fname. I can see the data is passing to the step2.php by viewing the source and checking the GT URL and everything is there.

Here is the full source:

<form name="my_form" id="my_form" action="http://www.instantcustomer.com/s/index.php?" method="post" target="form_submit1">
<input type="hidden" name="req" value="save_seminar_info">
<input type="hidden" name="u_series_id" value="36296">
<input type="hidden" name="u_timezone_js_offset" value="">
<input type="hidden" name="thank_you" value="1">
<input type="hidden" name="u_phone" value="<?PHP echo $_POST[$phone]; ?>">
<input type="hidden" name="u_email" value="<?PHP echo $_REQUEST[$email]; ?>">
<input type="hidden" name="u_firstname" value="<?PHP echo $_REQUEST[$fname]; ?>">
</form>

<script type="text/javascript">
function myfunc () {
var frm = document.getElementById("my_form");
frm.submit();
}
window.onload = myfunc;
</script>

thanks
Mike



Thanks
Mike


10-14-2011 02:00 AM #2 polarbacon (Moderator)

well how are you sending if from the form submit page?

also change POST to GET and send it on the querry string so you can see exactly how variables are being passed to debug things


10-14-2011 03:05 AM #3 vidivo (Member)

havent been able to do this either myself.. only thing stopping me from doing coreg!! :/


10-14-2011 11:26 PM #4 polarbacon (Moderator)

Quote Originally Posted by vidivo View Post
havent been able to do this either myself.. only thing stopping me from doing coreg!! :/
when the emails are only worth about 5c each its really not worth the effort imo....

and lists can get easily banned...by aweber.....


10-15-2011 12:00 AM #5 successliv (Member)

That's it thanks. I thought I tried every combination I could think of.


Home > > Coreg