0byt3m1n1
Path:
/
data
/
17
/
1
/
18
/
11
/
1670011
/
user
/
1801231
/
htdocs
/
affiliates_old
/
[
Home
]
File: active_affiliate.php
<? require('includes/aff_config.php'); if($_GET['email']!="") { $q_find="select * from `aff_user_data` where `email`='".$_GET['email']."'"; $r_find=mysql_query($q_find); if(mysql_num_rows($r_find)>0) { $q_update="update `aff_user_data` set `status`='Active' where `email`='".$_GET['email']."'"; $r_update=mysql_query($q_update); if($r_update) { echo "Thank You, Your Email Now Activated As An Affiliate"; } } else { echo "Sorry This is an Invalid Link"; } } ?>