Smart Sample Post PHP vars without form (cURL)
You have to have cURL enabled.
Take a look:
<?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);
curl_close ($ch);
?>
oops , Finish 
This entry was posted on Tuesday, October 13th, 2009 at 12:14 pm and is filed under PHP, Tutorials. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
You might also like
| Creating a Sliding Menu by MooTools Framework MooTools is an object oriented framework created in JavaScript that could be used to create a rich interactive... | Drawing Vectors Using AS3 Graphics Class This tutorial will teach you the basics on how to draw simple vector shapes in ActionScript 3.0. This is done through... | Adobe Fireworks Save Paths as ActionScript3 FP10 This command will let you export a selection of path objects to ActionScript using the new ActionScript drawing... | Passing Arguments with Events in AS3 One of the questions about ActionScript 3 that I am most often asked is how to send arguments to a listener function... |








