Server IP : 192.124.249.33 / Your IP : 66.248.200.33 Web Server : Apache System : Linux 141.134.66.148.host.secureserver.net 3.10.0-1160.119.1.el7.tuxcare.els6.x86_64 #1 SMP Fri Sep 13 13:42:20 UTC 2024 x86_64 User : tarangglobal ( 1001) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/tarangglobal/public_html/cyber/ |
Upload File : |
<?php //mail_reg('sunilnirwan55@gmail.com','subject','register','1'); function file_get_contents_curl($url) { $ch = curl_init(); curl_setopt($ch, CURLOPT_AUTOREFERER, TRUE); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE); $data = curl_exec($ch); curl_close($ch); return $data; } function mail_reg($to,$subject,$mailtype,$tokenid) { $org="Tarang Global"; $headers .= "Content-Type: text/html; charset=UTF-8\r\n"; $headers .= "From: $org <info@tarangglobal.com>\n"; $headers .= 'Cc: info@tarangglobal.com' . "\r\n"; $headers .= "Organization: $org\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "X-Priority: 3\r\n"; $headers .= "X-Mailer: PHP". phpversion() ."\r\n"; $url = 'http://www.tarangglobal.com/cyber/_mail_try.php?mailtype='.$mailtype.'&tokenid='.$tokenid; $email=$_REQUEST['email']; $msg=file_get_contents_curl($url); ini_set("sendmail_from","info@tarangglobal.com"); $to1=$email; // $to1="info@tarangglobal.com"; //$to1="sunilnirwan55@gmail.com"; //$result=mail($to,$subject,$msg,$header); $result1=mail($to1,$subject,$msg,$headers); } ?>Private