Can anyone help me on this one. I am capturing the emails, just wondering how to capture the phone number on the coreg path. Is it the exact same code, just change the email to phone and capture the phone #s in a text file?
Thanks
yup just make a new field.
pretty much same thing here is my code below
$t202subid=$_COOKIE['tracking202subid'];
$fname=@$_GET['firstname'];
$lname=@$_GET['lastname'];
$email=@$_GET['email'];
$p1=@$_GET['phonea'];
$p2=@$_GET['phoneb'];
$p3=@$_GET['phonec'];
$phone=$p1.$p2.$p3;
if($phone!=""){
$myFile = "phone.txt";
$fh = fopen($myFile, 'a') or die("can't open file");
$stringData = $phone.",".$fname.",".$lname.",".$email."\n";
fwrite($fh, $stringData);
fclose($fh);