????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 52.15.225.105 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/www.astacus.se/fi2/license/ |
Upload File : |
<?php session_start(); $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= "Content-type: text/html; charset=UTF-8\r\n"; $headers .= "From: noreply@astacus.se\r\n"; $link = mysql_connect ("localhost", "root", "root123"); mysql_select_db ("fi2xml_tool"); $foretag = $_POST['foretag']; $epost = $_POST['epost']; $sec = $_POST['sec']; $demo = $_POST['demo']; $password = md5("Toolbox"); $companyid = $_POST['companyid']; if($sec == $_SESSION['sec']){ $GUID = md5($epost . date("Y-m-d H:i:s")); $sql = "INSERT INTO tblLicenses (id, GUID, CompanyId ,Username ,Password, Company, Registerdate, Active, Payed, Admin) VALUES ( NULL , '".$GUID."',$companyid,'".$epost."', '".$password."','".$foretag."','".date("Y-m-d H:i:s")."',1, $demo,0);"; //echo($sql); mysql_query ($sql); mail("$epost, robin.olander@astacus.se", "ASTACUS LICENSNYCKEL för Revit/AutoCAD Toolbox", "Hej, <br> Din licensnyckel är: $GUID <br><br>Vänliga hälsningar, Astacus Toolbox-team.", $headers); header("Location: license.php?action=sent"); }else{ header("Location: license.php?action=error"); } ?>