retorofanのプロフィール
- ベストアンサー数
- 328
- ベストアンサー率
- 33%
- お礼率
- 86%
- 登録日2023/02/13
- 作成中のプログラムの暴走はどうやって止めるの
作成中にプログラムが暴走?して、アプリを終了したくても、作動中は閉じれませんなんて言われます。 こういう時はどうやって閉じるのでしょう? 私はタスクマネージャーから強制的に閉じますが、このやりかたであってますか?
- ベストアンサー
- gennya
- その他([技術者向] コンピューター)
- 回答数2
- 登録ボタンの二度押しを回避したい
phpで登録ボタンを二度押すと同じ物が二件以上登録されます。 どう回避すれば良いでしょうか? <?php $rows = json_decode(file_get_contents("./jdata/".$lin.$idno.'.json'), true); if (count($rows)<100) { if (!empty($_POST['write'])) { if ($contents_m!=$_POST['contents']) { $row = array( 'name' => $_POST['name'], 'title' => $_POST['title'], 'contents' => $_POST['contents'], 'aiconu' => $_POST['aiconu'], 'time' => date("Y/m/d H:i:s") ); array_unshift($rows, $row); file_put_contents("./jdata/".$lin.$idno.'.json', json_encode($rows)); } $contents_m=$_POST['contents']; } <!DOCTYPE html> <html lang="ja"> <head> input id="tou" type="submit" name="write" disabled value="登録">
- ベストアンサー
- tatitutetoti
- PHP
- 回答数2
- she's the only one
she's the only one は 『彼女はひとりぼっち』か『(私には)彼女しかいない』 のどっちですか
- ベストアンサー
- chichigebiroon
- 英語
- 回答数4