3,417 Topics
![]() | |
Actually iam a new PHP Learner, i developed an web app using Bootstrap, PHP, Mysql. Now i want to give login access for gmail id's which are already existed in my database, so i used login with google API, but want deny login access for any other gmails which are … | |
This code works but I don't know how to dismantle this "sausage" code. async function showAllFilters(qry, arrayParams) { // params is [] let result; try { result = await db.query(qry, arrayParams); } catch (error) { console.log("showAllFilters error: "); console.error(error); } return result; } router.get('/', function (req, res) { // localhost:5000/api/filter … | |
# Introduction # This tutorial provides guidance on gathering data through web-scraping. However, to demonstrate the real-life issues with acquiring data, a deep-dive into a specific, complicated example is needed. The problem chosen, acquiring the geographic coordinates of gas stations in a region, turns into an interesting math problem that, … | |
Hi all I need help to read outlook pst file from java.My pst file is stored in local hard disk.Now i want my java program to read that pst file.Kindly provide some inputs so as to proceed to the solution for the said problem.Can i do this through javamail api? … | |
is there any one works with facebook PHP SDK to boosting post?we are testing the marketing api to implement on our site for do post and boost that. so we created the sandbox account and tested the file and got campaign, ad set,creative and ad id successfully. but cant able … | |
With this php code, I send a request for payment with Paypal sandbox account. However when I go to the submit page I cant see what amount I am paying: https://i.imgur.com/iTra1SQ.png -> here in the red shoulld be displayed - 10.00(amountPayable). How can I send it so it's showed? use … | |
Newbie here, Final year student of Electronics, I am learning python and want to move in the direction of web development! sounds quite strange to the filed i am in. i have been geting interested in working with API's and learning frontend using tkinter in python. Thanks! | |
Hi guys. I have two servers: 1. Client Facing Production Server 2. API Server. The Client facing sever (Server1) sends requests to the API Server (Server2). Server2 is hosted with one staric IP address and is accessible through three domain names, e.g. **www.domain1.com**, **domain1.com**, **test.domain2.com**. Often times the Server1 seems … | |
hi everyone. been a while since i have been on here, alot has changed. I am in the middle of amending/adding features to an installer using python. I have the dropbox API (for business) set up and working, upload and downloading without issue. The potential issue i see is during … | |
I have been trying to get Lat Lng from this code using the same call to Google Geocoding API, but I have not found a way. Any suggestion would be greatly appreciated! /*! * geotext v1.0 * * https://github.com/Frizzled/geotext * * Copyright (c) 2014 Vladimir Loscutoff * Released under the … | |
DataSet ds = new DataSet(); string pattern = @"(</?)(\w+:)"; //[XMLText] is a string variable containing XML downloaded from a WebServices API. StringReader sr = new StringReader(Regex.Replace(XMLText, pattern, "$1")); ds.ReadXml(sr); return ds; | |
Halli Hallo i hope im at the right Place. I want to get started with API-Gateway(s). Currently im running 5 Microservices written in Java (Spring-Boot) deployed via Docker. Each Microservices is protected via Keycloak. I want to use a API-Gateway so that i can combine every MS into 1 Link: … | |
We have a Swagger file for our API, but in our API documentation, we want to show valid responses for each endpoint. I coded up this little recursive function in PHP which takes our Swagger file and spits out a valid response. I use it as follows, for each individual … | |
Hey everyone, I'm looking to add a block / function within a C++ application that will search for open windows. For instance, wordpad and notepad. If either are open perform an action. I'm doing this within win32 API but my question is this. If I create something as such, this … | |
I'm looking for some alternatives to Swagger UI that I can use with my API's swagger file to generate our official documentation. So far I've been looking at Apiary and ReDoc. Does anyone have any favorites? Which are the most intuitive for api documentation? Ideally I'd be looking for one … | |
I have a Dell and I'm running 8.1. I can't download or upgrade anything. After a couple of days my email wont work and the internet slows down to a standstill. I usually restart my computer and it wont start. I keep hitting the reset button for about 15 minutes … | |
I want to add capcha to Mobirise builder's form. When I'm adding the code below, formd doesn't send any messages after that. What should I do? May be someone have solved this issue. <head> <script src="https://www.google.com/reCAPTCHA/api.js" async defer></script> </head> <body> <form action="?" method="POST"> <div class="g-reCAPTCHA" data-sitekey="your_site_key"></div> <br/> <input type="submit" value="Submit"> … | |
Hi, I am using node and refactoring an older database. Therefore, i want to ensure i incorporate correct practices from the start. I know that this is a debated topic and that there is not nessecarily a correct answer but i want to see what people have to say about … | |
Suppose that I construct my own programming language and my own compiler (for windows), I am free to use WINAPI like "CreateWindowEx"? | |
As Google+ is being deprecated, I need to migrate my Oauth 2 off of Google+ and into the Google Sign-In authentication system. So far, I changed the list of scopes from `https://www.googleapis.com/auth/plus.login email` to `profile email`. However, I'm struggling trying to find in Google's docs what to change the endpoint … | |
**HELLO GUYS!** I'm Sergey Romanenko a web-developer with strong will for learning and researching new technologies and architectural solutions. I like creating and using specialised tools for making development processes as efficient as possible. Let me introduce my pet project - Flextype! Flextype is Open Source, fast and flexible file-based … | |
Hello Daniweb Family, I am trying to create something like a "Earthnull" look alike. I am not good in coding and try to find something that can help me to start on. I found something very similar on what will be the target output. HTML: <!DOCTYPE html> <html lang="en"> <head> … | |
Guys this question is continual. however i found the answer virtually however still cant compass. i dont shrewdness to resolve it. thats why i announce it as new question iam operating with a project. iam exploitation native-validations-master downloaded it from internet. this is the link for that: https://www.cssscript.com/custom-html5-form-validator-native-validations/ It conjointly … | |
I need API (Java) to connect to Google Playstore to be able to download apps. Just as [www.apkpure.com](http://www.apkpure.com) and others, but l need to connect from my application. Can somebody help me. Thanks | |
I have some problems when working with Win32 api. 1. Changing the text and background color of a button doesn't take effect. My code: case WM_CTLCOLORBTN: COLORREF colorref; colorref = RGB(0,0,255); HBRUSH hBrushBtn; hBrushBtn = CreateSolidBrush(colorref); return ((LRESULT)hBrushBtn); break; 2. How do I create selectable text. My code: text = … | |
I am Working on Xcode 9.2 Swift 4.0 using FacebookSDKs-iOS-20160316 for Facebook Login Authentication Integration . My storyboard is empty . On Running Facebook Login button is coming on an app When clicked Facebook login page comes, after successful login Permission for my app is asked, When allowed following page … | |
Hello i am using authservice to call my MySql database with PHP api and therefore my php functions for my Ionic 3 Angular 4 app. This is how i call to get userData and it works fine import { AuthService } from "../../providers/auth-service"; public authService: AuthService, private loadingCtrl: LoadingController ) … | |
The API docs are now found at [ Java Development Kit Version 11 API Specification](https://docs.oracle.com/en/java/javase/11/docs/api/) | |
I have a very standard code where I use a CRUD interface on my Database. The issue is that every attempt I made to redraw/update the table with the new data [ $('.table').DataTable().draw(); ] has failed miserably. Here is my targeted code: function manageData(key) { var name = $("#countryName"); var … | |
Hey guys, I'm searching for free sports data api or sports data widgets for a website that is gonna be starter level. I did my research and found some options but I need more alternatives. Some providers like Opta or Sportradar offers a lot as sports widgets but they give … | |
Hello i'm to make a vacations script calculator <div id="content"> <form class="form-container"> <input class="emri" type="text" placeholder="Name"> <input class="mbiemri" type="text" placeholder="Last Name"> <input class="Vendosni-Datelindjen" type="text" placeholder="Birthday"> <select class="drop-down-select"> <option selected="selected" value="Select Zone">Select Zone</option> <option value="Zone A">Zone A</option> <option value="Zone B">Zone B</option> </select> <select class="drop-down-select"> <option selected="selected" value="Nr of persons">Nr of persons</option> … | |
1) What I'm trying to do: Uploading a file with aws s3 and then taking the filename and filetype and placing it at the end of the url to save it in sql so that every time the person logs in, it will pull the picture up by user image … | |
import requests.packages.urllib3 requests.packages.urllib3.disable_warnings() from flask import Flask from flask import request import requests from requests_toolbelt import MultipartEncoder import requests app = Flask(__name__) import requests import json from datetime import datetime botEmail = "" # botun email adresi accessToken = "" # Botun access tokeni host = "https://api.ciscospark.com/v1/" # CISCO Spark … | |
I send payments to my users regularly. But sometimes the user enter a PayPal email address that cannot receive money from other PayPal users. They just can receive money from their website. How can I check for this and show an error to the user? Do I need to use … | |
Hello I am trying to create chaper links for my Vimeo videos on my site. I have managed to get a script working with direct links but cannot get it to work with a drop-down menu. Here is my code: <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.js"></script> <script src="https://f.vimeocdn.com/js/froogaloop2.min.js"></script> <script> $(window).load(function(){ var link_1_track = 26; … | |
I'm trying to build a client and a server in the same program. For example, user 1 sends a packet of data to user 2, user 2 after receiving the packet sends back a different packet to user 1. The problem is, after running the program neither user receives the … ![]() | |
Hi , i have a collection of html element to render the output , and i wanna change element tag for eg h2 tag to h4 and then send to the render output markup in react js . I can do them in jquery but wanna try in reactjs .some … | |
I am using `passport` in `laravel` for authenticating my users in APIs. I am able to authenticate different types of users from different tables and generating different token for them but the routes are not protected. For example. A user can access the routes like this Route::group(['middleware' => 'auth:api'], function … | |
I had a cool idea concerning threading in C#. I was reading a book called "CLR via C#" and it was discussing threading, and how people should seldom use actual thread objects, and instead should use the thread pooling services. The reason being they spool up worker threads for you … | |
I am looking for an API that will be easy to use, also allows me view reports of sended SMS, that also has documentation and examples to how manage it. | |
Does anybody know whether System.Data.SqlLite has the capability to do a Change notification callback when one of it's tables is changed? I know that Python can do it by calling the C api, but This is kind of beyond me. I know I have done this before on an oracle … | |
Hello, I would like to introduce myself and share a bit of information about the new API we are developing. The product was just launched in February and is in the beginning phase. I would highly appreciate any kind of comment or advice when it comes to improving the development … | |
I have to print some text to printer. I needed to translate that text in Urdu language also. For that I used google translation API and all was set. But I am facing problem in order of output. // this is the code which is giving my desired output String … | |
Dear Experts, I want to develop a application that send sms on any mobile. if any one done this project then kindly give some important consideration for developing this application. Best Regards, Pardeep | |
Hello, I am testing the instagram api. And trying to figure out way to get the token. It shows in this video: https://www.youtube.com/watch?v=fGMk8daxF08 By click the client ID twice it will shows me the get token form. Yet, this is not in my case. I cannot click the client ID … | |
Is this something which is updated to different method or am i doing something wrong? I want to get my current location on Google Maps what am doing right now is as follows. Creating GoogleMaps Activity, Download GooglePlay Services from Android SDK Manager, Giving Permissions in AndroidManifest for Internet and … | |
Hello i want to pass the user id (uid) from the home page to a user Details Page. Because i display multiple users on my home page i don’t wan to pass the user session id (as given by the `JSON.parse(localStorage.getItem("userData"));` ), i want to click on the name of … | |
We are developing a travel app project to facilitate customized travel experience. Where traveller can plan its trip by selecting various facilities like ATM, Restaurants, attraction points while traveling from an origin to destination. Facilities coordinates across India has been stored in our database as prerequisite. I am looking for … | |
Hi all, I'm trying to make a Facebook login for a website, which also stores users' data who log in. In order to do this, I do have an index.php <script> // This is called with the results from from FB.getLoginStatus(). function statusChangeCallback(response) { console.log('statusChangeCallback'); console.log(response); // The response object … | |
I have written a REST API using C# that runs on my server. When it is started, I want to preload some data from the database based on the organization that has purchased it (name, address, etc). However, I can't seem to figure out the name of the initial program … |
The End.