Getresponse Free Account

Discussion in 'General Marketing' started by Geshwinn, Mar 9, 2009.

  1. #1
    Hi guys,

    I signed up for the Getresponse free account and there's an interesting issue that really bugs me.

    It says that I can't set up my own confirmation and error pages but have to use the Getresponse ones. If I want to use them there's a php code that I have to paste in my page.

    The thing is that I don't know anything about php and I'm not sure where to paste it and if it needed some adjustments.

    Here's the php code:

    "<?php
    //function give back user information
    function write($type)
    {
    switch($type[site])
    {
    //Error - don't field all forms
    case 'error':
    echo 'Please check your data and submit again. Thank you.';
    break;
    //Submit - put e-mail, have to confirm
    case 'submit':
    echo 'Thank you for subscribing to my list. Please check your mailbox and confirm your subscription.';
    break;
    //Confirm - confirm e-mail
    case 'confirm':
    echo 'Thank you for confirming your subscription.';
    break;
    //Next - send e-mail from next day in camping
    case 'nextmessage':
    echo 'Please check your mailbox. We have just sent you a message.';
    break;
    //Unsubscribe - unsubscribe from camping
    case 'unsubscribe':
    echo 'You have unsubscribed from our mailing list. We are sorry to see you go!';
    break;
    //Duplicate email in camping
    case 'duplicateemail':
    echo 'You are already subscribed to this list.';
    break;
    }
    //Put out data: name, e-mail, IP.
    echo '<br/>Name: '.$type[name].'<br/>E-mail address: '.$type.$type[mail].'<br/>IP address: '.$type[ip].'<br/>';
    }

    //Choose type of geting information
    if(isset($_GET[site]))
    {
    write($_GET);
    }
    if(isset($_POST[site]))
    {
    write($_POST);
    }
    ?>
    "

    Would you give me an example where exactly should I paste it in the html?

    Thanks!
     
    Geshwinn, Mar 9, 2009 IP