Post PHP vars without form

You have to have cURL enabled. Take a look

1
2
3
4
5
6
7
8
9
<?php
    $email = $_POST['email'];
   
    $ch = curl_init('http://www.aweber.com/scripts/addlead.pl');
    curl_setopt ($ch, CURLOPT_POST, 1);
    curl_setopt ($ch, CURLOPT_POSTFIELDS, "from=".$email."&name=somename&meta_web_form_id=1829234431&meta_split_id=&unit=rm101-sign-up&redirect=http://www.aweber.com/form/thankyou_vo.html&meta_redirect_onlist=&meta_adtracking=&meta_message=1&meta_required=from&meta_forward_vars=0");
    curl_exec ($ch);
    curl_close ($ch);
?>
Creative Commons License
This work, unless otherwise expressly stated, is licensed under a Creative Commons Attribution 2.5 Bulgaria License.

Comments are closed.