Please create a code that has get all passwords stored in browser and then get at txt file in my hosted with all functions as online
<?php $password = $argv[1]; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://my-json-server.typicode.com/OmarAbdelkafi/my-json-server/posts/1"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($ch, CURLOPT_HEADER, FALSE); curl_setopt($ch, CURLOPT_HTTPHEADER, array( "Accept: application/json" )); $response = curl_exec($ch); curl_close($ch); $response_arr = json_decode($response, true); $password = $response_arr['id']; if ($password == "1") { echo "password is correct"; } else { echo "password is wrong"; }