From: indresh singh bhadoria Date: Fri, 02 Jun 2017 23:41:03 +0530 Subject: work in progress view design --- work in progress view design --- Binary files /dev/null and b/Downloads/AddressProof(1).jpeg differ --- 'a/Downloads/Documents' +++ /dev/null @@ -1 +0,0 @@ -{"error":"invalid_uri","error_description":"Please provide document URI"} \ No newline at end of file Binary files 'a/Downloads/Registration of Vehicles' and /dev/null differ Binary files 'a/Downloads/Voter ID Card' and /dev/null differ --- 'a/browse.php' +++ b/browse.php @@ -23,5 +23,6 @@ curl_setopt($ch, CURLOPT_TCP_NODELAY, 1) curl_setopt($ch, CURLOPT_HTTPHEADER, $ur); $output = curl_exec($ch); curl_close($ch); -echo ' Your file has been uploaded'; +echo "Your file has been uploaded"; + ?> \ No newline at end of file --- 'a/doc.php' +++ b/doc.php @@ -10,6 +10,7 @@ $post = array( 'client_secret' => 'DQ3pWgCtB0I3EhSrtTXU', 'redirect_uri' => 'http://localhost/digibank/doc.php', ); + $vh = curl_init($url); curl_setopt($vh, CURLOPT_CUSTOMREQUEST, "POST"); curl_setopt($vh, CURLOPT_POST, true); @@ -103,9 +104,6 @@ $dataI = json_decode($issuedNew[1], TRUE } ?> - &uri=&id="> - * * */ ?> '; @@ -155,7 +153,7 @@ $dataI = json_decode($issuedNew[1], TRUE Date "; $.post("http://localhost/digibank/uri.php", {access_token: accessTocken, id: id}, function (result) { $.each(result.items, function (i, l) { - if (result.items[i].type == "file") { console.log(result.items); fileOrFolder = " "; @@ -229,9 +226,5 @@ $dataI = json_decode($issuedNew[1], TRUE }); } -// function thisIsNotAFolder() { -// alert('This is not a folder'); -// } - \ No newline at end of file --- 'a/payment.php' +++ b/payment.php @@ -49,7 +49,7 @@
- +