I'm making a referal program and have everything done except one thing doesn't work. I wanted to store the number after "ID=" in the url, so I put this in the script:
$ENV{'QUERY_STRING'} =~ /ID=(.+)$/;
$id = $1;
and then I mailed $id to me.
the e-mail worked but it didn't e-mail me the info. Is that the right script to write? If not, what is?
$ENV{'QUERY_STRING'} =~ /ID=(.+)$/;
$id = $1;
and then I mailed $id to me.
the e-mail worked but it didn't e-mail me the info. Is that the right script to write? If not, what is?