Skip to content

Commit

Permalink
v0.99.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sakots committed Aug 12, 2021
1 parent 9bb4867 commit 7c76f5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rois/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,7 @@ function paintform($rep){
$imgfile = filter_input(INPUT_POST, 'img');
$var_b['imgfile'] = IMG_DIR.$imgfile;
}
$usercode.='&stime='.time();//拡張ヘッダに描画開始時間をセット
$usercode.='&stime='.time();//拡張ヘッダに描画開始時間をセット

//差し換え時の認識コード追加
if($type === 'rep'){
Expand All @@ -1252,8 +1252,8 @@ function paintform($rep){
$repcode = substr(crypt(md5($no.$userip.$pwdf.date("Ymd", $time)),$time),-8);
//念の為にエスケープ文字があればアルファベットに変換
$repcode = strtr($repcode,"!\"#$%&'()+,/:;<=>?@[\\]^`/{|}~","ABCDEFGHIJKLMNOabcdefghijklmn");
$datmode = 'picrep&amp;no='.$no.'&amp;pwd='.$pwdf.'&amp;repcode='.$repcode;
$usercode.='&amp;repcode='.$repcode;
$datmode = 'picrep&no='.$no.'&pwd='.$pwdf.'&repcode='.$repcode;
$usercode.='&repcode='.$repcode;
}
$var_b['usercode'] = $usercode; //usercodeにいろいろくっついたものをまとめて出力

Expand Down

0 comments on commit 7c76f5d

Please sign in to comment.