Author Topic: Re: Flash optin box  (Read 10216 times)

admin19

  • Posts: 12
    • View Profile
Re: Flash optin box
« on: June 07, 2009, 05:19:59 am »
Hi,
I am trying to use LM with a flash optin template.
When the email and name are submitted by hitting the button on the template, it uses a file called auto.php to make it work and submit the info.
auto.php contains this default code for aweber:
------------------------------------------------------------------------------------
<?php


$redirectlink = $_POST['redirection-link'];
$opt_name = $_POST['firstname'];
$opt_mail = $_POST['email'];

?>
<center><form method="post" action="http://www.aweber.com/scripts/addlead.pl" id="aweber">
<input type="hidden" name="meta_web_form_id" value="1335672829">
<input type="hidden" name="meta_split_id" value="">
<input type="hidden" name="unit" value="sce_free_chapte">
<input type="hidden" name="redirect" value="<? echo $redirectlink; ?>" id="redirect_1f95dfb307fe607d44eed5d2021b45cb">
<input type="hidden" name="meta_redirect_onlist" value="<? echo $redirectlink; ?>">
<input type="hidden" name="meta_adtracking" value="">
<input type="hidden" name="meta_message" value="1">
<input type="hidden" name="meta_required" value="from">
<input type="hidden" name="meta_forward_vars" value="0">
<table>
<tr><td colspan=2><center></center></td></tr>
<tr><td></td><td><input type="hidden" name="name" value="<? echo $opt_name; ?>" size="20"></td></tr>
<tr><td></td><td><input type="hidden" name="from" value="<? echo $opt_mail; ?>" size="20"></td></tr>
    <tr><td colspan=2><center></center></td></tr>

</table>
</form>
<script language=javascript>
               
            
      document.getElementById('aweber').submit();
       
        </script>
</center>
------------------------------------------------------------------------------------
I have modified this info but get a second page on submit with the LM signup code boxes on it rather than the info actually being submitted.
Has anyone got any ideas on how to replace this code so that the detail actually submit in one action?
Regards Iz..