comparison php/read/updateLink.php @ 19:84a412b8122c

try to protect against a range of missing info
author Charlie Root
date Thu, 30 Aug 2018 17:18:12 -0400
parents 077b0a0a3e6d
children f024f2f08994
comparison
equal deleted inserted replaced
18:c41a5802b26c 19:84a412b8122c
4 echo $linkID; 4 echo $linkID;
5 $change = strval($_GET['change']); 5 $change = strval($_GET['change']);
6 echo $change; 6 echo $change;
7 $dir = strval($_GET['dir']); 7 $dir = strval($_GET['dir']);
8 echo $dir; 8 echo $dir;
9 $userID="";
9 $userID = strval($_GET['userID']); 10 $userID = strval($_GET['userID']);
10 echo $userID; 11 echo $userID;
11 12
12 include "../../../private/db.php"; 13 include "../../../private/db.php";
13 14