comparison user/confirmation.php @ 49:a67bf725e87b

put both paths in include_path and depend on that
author Charlie Root
date Wed, 16 Jan 2019 13:42:15 -0500
parents 077b0a0a3e6d
children
comparison
equal deleted inserted replaced
48:da133c130c1d 49:a67bf725e87b
1 <?PHP 1 <?PHP
2 include "../../private/db.php"; 2 include "db.php";
3 3
4 4
5 // Passkey that got from link 5 // Passkey that got from link
6 $passkey=$_GET['passkey']; 6 $passkey=$_GET['passkey'];
7 $tbl_name1="temp_user"; 7 $tbl_name1="temp_user";
57 57
58 // Delete information of this user from table "temp_members_db" that has this passkey 58 // Delete information of this user from table "temp_members_db" that has this passkey
59 mysqli_close($link); 59 mysqli_close($link);
60 $sql3="DELETE FROM $tbl_name1 WHERE confirm_code = '$passkey'"; 60 $sql3="DELETE FROM $tbl_name1 WHERE confirm_code = '$passkey'";
61 //echo $sql3; 61 //echo $sql3;
62 include "../../private/db.php"; //need to reinclude otherwise an error is thrown 62 include "db.php"; //need to reinclude otherwise an error is thrown
63 $result3=mysqli_query($link,$sql3); 63 $result3=mysqli_query($link,$sql3);
64 mysqli_close($link); 64 mysqli_close($link);
65 65
66 $message = "<HTML><STYLE>.chrome-seo_meta-nofollow,.chrome-seo_meta-nofollow *{outline:2px dashed #ffb400!important;outline-offset:1px;}.chrome-seo_nofollow,.chrome-seo_nofollow *{outline:2px dotted #e90000!important;outline-offset:1px;}</STYLE><HEAD><META http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"> 66 $message = "<HTML><STYLE>.chrome-seo_meta-nofollow,.chrome-seo_meta-nofollow *{outline:2px dashed #ffb400!important;outline-offset:1px;}.chrome-seo_nofollow,.chrome-seo_nofollow *{outline:2px dotted #e90000!important;outline-offset:1px;}</STYLE><HEAD><META http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">
67 <TITLE> 67 <TITLE>