3,417 Topics
![]() | |
Hello, I have created basic web APIs before for simple, publicly avaiable data using simple PHP Get statements. But I'm wondering how I can create a more secure API where the API call can send private data without it being available as easily as the PHP get statement is. To … | |
Hiii everyone Could anyone please help me.... I am working in an ASP .Net project. In which I would like to integrate EIDA toolkit for getting the personal details of a person such as Name,Date of Birth,Gender,etc. by entering his EID(Emirates ID). I am using dot net framework version 4.0. … | |
Hi, I am writing the content of a long text file in pdf using PDFbox API in java but only half the page I am able to write please assit me with it asap here is my code: import java.io.IOException; import org.apache.pdfbox.pdmodel.PDDocument; import org.apache.pdfbox.pdmodel.PDPage; import org.apache.pdfbox.pdmodel.edit.PDPageContentStream; import org.apache.pdfbox.pdmodel.font.PDType1Font; import org.apache.pdfbox.pdmodel.font.PDFont; … | |
I have a form at http://www.sledor.talk4fun.net/results/results.html which shows results if a proper roll number is entered... the results are fetched from http://results.vtu.ac.in site and only the table is shown... now i want to add the data of the table to my database using php. Is there a way to do … | |
I'm creating multiple custom info windows using only one xml layout, all of the info inside the window will be put In programmatically. I am now trying to give the ImageView an image but when I do that for one marker all of the other markers ImageView images become the … | |
How can i measure sequential read/write speeds? is there any API, library that can help me? | |
Helo friends i am trying to use the XML file to send data to api but i am getting a error due to & character used in link Where (XXXXXXXX&apiToken=XXXXXXXX&payload=) But If I Copy past the link in url bar it is working fine below is the example and i … | |
I'm creating some automation utils. Part of it is automating mouse input. I think I have my math wrong because the X coordidnate is incorrect at certain points for example is I give it x = 114 which should translate to 114 pixels from left of screen (0) it will … | |
how we can use api in visual baisc program.. | |
Here is some javascript code ===> (function() { var infowindow; window.onload = function() { var options = { zoom: 3, center: new google.maps.LatLng(37.09, -95.71), mapTypeId: google.maps.MapTypeId.ROADMAP }; var i = 0; var marker; var btn = document.getElementById('btn'); var map = new google.maps.Map(document.getElementById('map'), options); var bounds = new google.maps.LatLngBounds(); var places … | |
This is my process.php which I use to post data on my page's wall PHP Code: include_once("config.php"); //HTTP POST request to PAGE_ID/feed with the publish_stream $post_url = '/'.$userPageId.'/feed'; //after login redirect him and if i can get message submit it to page if(isset($_GET["message"])) { $msg_body = array( 'message' => $_GET["message"], … | |
Hello, I have a `HWND` for a window. I have double checked that it is a 100% valid window by using `SetActiveWindow()`, `SetFocus()`, and `SetForegroundWindow()` on it, successfully bringing it to the frontmost window. However whenever I try to use `GetPixel` on it it returns -1 (0xFFFFFFFF). What am I … | |
# What is OAuth and why do I want to use it? If you want to write an application that caters to existing members of a service, and you want your application to be able to access private areas of your end-users' profiles, or modify their accounts on their behalf, … ![]() | |
hi please help me. i have a google map on my website, but i cant get it to zoom out to show the circle radius, and it seems to be zooming only to view the markers. how can i zoom out to show the radius of the map? see below … | |
I've recently switched our login mechanism, and our API, over to SSL (https:// vs http://) I am using the following: RewriteCond %{HTTPS} off RewriteCond %{REQUEST_URI} danipad [NC,OR] RewriteCond %{REQUEST_URI} api [NC,OR] RewriteCond %{REQUEST_URI} members/join [NC,OR] RewriteCond %{REQUEST_URI} members/login [NC,OR] RewriteCond %{REQUEST_URI} members/edit_profile [NC,OR] RewriteCond %{REQUEST_URI} members/edit_membership [NC] RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} … | |
I am sorry if I havent found if there is an obvious solution to my problem or if there is an answer to my question, I promise I looked and searched a lot, all my findings explain the apache cordova file api,but do not resolve my problem. And here it … | |
The photo messaging application Snapchat, which allows users to post images, video and text on a time limited basis to a group of recipient users, has been hacked. The attraction of Snapchat, apart from not being Facebook and therefore somewhere teenagers can meet online without their parents having a clue … | |
We'll be launching a mobile app (iOS, Android) soon. App is native with a local SQLite database. App is supposed to do scheduled database sync with a live online MySQL database connected to a PHP based backend system hosted on a Hostgator dedicated machine. App audience is expected to be … | |
I am trying to use PHP with Google map JavaScript this is my JavaScript code I have with the PHP the file name is face.php <?php if(isset($_GET['p'])){$p=$_GET['p'];} ?> <!DOCTYPE html > <head> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <title>Property Map</title> <link rel="stylesheet" href="../../../../css/960.css" type="text/css" media="screen" charset="utf-8" /> … | |
It's time yet again for a DaniWeb Developer Competition!! This time the goal is to utilize [our new API](http://www.daniweb.com/api/home) launched last month. There's a lot that you can do with our API. Essentially it allows your application (web, desktop, mobile, etc) to tap into DaniWeb's backend. Your own application can … | |
i have a problem with java.suppose there is any java project either database,or any api how to create A JAR FILE? because i made a project medical stores management in java & access .but i dont know how to create jar file for it from Shel | |
i want to invite friends on facebook api without canvus url .. | |
I am wrapping the Windows API CreateProcess. Here is my code. int __stdcall _Execute(LPTSTR program, LPTSTR workingdir, WORD show){ // Check if program has content if (!program || !*program){ MessageBox(NULL, L"You must provide path to executable", L"Error", MB_OK); return 0; } // Create buffers and copy program param to szCmd … | |
Hi All, I want to develop asp.net web-site by using API provided by cleartrip. I used that API but every time I received the response as bad request. Please help me to soulve the issue. Here is my Code:- [Code=C#] HttpWebRequest req = (HttpWebRequest)WebRequest.Create(http://api.staging.cleartrip.com/air/1.0/search?from=BOM&to=DEL&depart-date=2010-12-20); req.Method = "Get"; req.Headers.Add("X-CT-API-KEY", "MYAPIKEY"); HttpWebResponse … | |
I'm wondering if anyone has any experiencing getting a python application to authenticate with google docs. I'm not sure how to begin. Goal: To update a google docs spreadsheet based of a CSV file on my local machine. Currently my google account is set for two factor authentication. Perhaps this … | |
I don't know why I cant find this anywhere online, it should be simple. I'm trying to GET event details based on the (given) event id. I'm looking for event title, description, image, etc... Does anybody know of a way to get these details with javascript? Facebook has posted this … | |
So been working on a C# wrapper for the DW API for a while now and its moving into the closing stages of development and I will release it publicly after. Question I have is what would be the best way to do this and how? (I am still waiting … | |
To integrate our data base with other site, I've got a xml coding (given below) but they require a JSP output steps and tips to achive that would be appriciated. TIA. <?php include('db_connect.php');?> <?php $query=mysql_query("select * from tbl_seat")or die(mysql_error()); $xml="<libraray>\n\t\t"; while($data=mysql_fetch_array($query)) { $xml .= "<From>".$data['fromloc']."</From>\n\t\t"; $xml .= "<To>".$data['toloc']."</To>\n\t\t"; $xml .= … | |
I'm trying to connect mysql database through API, and I'm using the following coding. I could't get the proper access to the database. Do I need to create a JDBC to the database or is there any other options available? <%@page import="java.sql.DriverManager"%> <%@page import="java.sql.ResultSet"%> <%@page import="java.sql.Statement"%> <%@page import="java.sql.Connection"%> <% String … | |
Hello All, I am using google calendaer API PHP libraries. but refreshToken is not working for me. Please tell me where am wrong in this code: <?php require_once 'src/Google_Client.php'; require_once 'src/contrib/Google_CalendarService.php'; session_start(); $client = new Google_Client(); $client->setApplicationName("Google Calendar PHP Starter Application"); $client->setAccessType('offline'); // added this to handle offline section $cal … | |
Hello All, I want to send event invitation to Google user, using google calendar API. for this, I am using Google calendar API in php, for inserting event in the google calendar . I have used php-client libraries https://developers.google.com/google-apps/calendar/downloads But problem with this is : it require login. So how … | |
Hello , i am making a website and have difficulties using Google Chart API. I am using a annotated timeline chart and it works. But i want to change the look of the chart and i am having difficulties with that . Mayby somebody here can help me ? Here … | |
I have a studied java and self taught on netbeans. i would like to use open source APIs and packages for writing heuristics and machine learning programs but dont know where to start. How to learn to use a new API ? Like genetic algorithm package or metaheuristic package? I … | |
Hi, could some one help me in resolving this issue. Below is the code in which i am trying to call open Calais API to extract the keywords from the content by using the lisence key. package com.clearforest; import java.rmi.RemoteException; import javax.activation.DataHandler; import javax.mail.internet.MimeMultipart; import javax.xml.rpc.ServiceException; public class CalaisDemo { … | |
using API functions, can i get the text rectangule? | |
Been running a couple of article queries this morning. When running `http://www.daniweb.com/api/articles?forum_id=61` I encountered what looks like a bug. The 11th thread reply coming back in the query is the following: { "title":"please help me .........", "related":[ { "id":"" } ], "posters":[ { "id":"1098860" }, { "id":"46588" }, { "id":"1091071" … | |
hello friends, we have stuck with one problem while doing program of mail api. we have doing unread mails via mail api,but its not perfectly working. There is an problem in reading content of (multipart type) of mail. it will work on Text/Plain type. Following is my code.please let me … | |
Hello guys, I hope you can clarify something for me please. I was looking into carousels, found an excellent one and replicated in my code (for reference this is the one I looked at, it’s really good and easy to understand https://tutsplus.com/lesson/the-obligatory-slider/). Anyway, I have implemented that and I thought … | |
would it be possible to right a program that would create a sort of virtual audio device that would show up under playback devices and that i could set as default, the purpose of this virtual audio device would just be to redirect the audio stream to a different device … | |
i will go to a local digital champion, and i must propose my idea as innovation, for a app : i thinked about to creat a city guide: with 2 main function speech Recognition And voice reader google now answer when you ask about meteo 1. allow user to find … | |
Hi, Hope you are ok. I made a website to recieve donations in from other people. It is possible to check if this coding hereunder are working or not? Thanks for your help. Donation page: <?php require "config.php"; require "dbconnection/connection.php"; // Determining the URL of the page: $url = 'http://'.$_SERVER['SERVER_NAME'].dirname($_SERVER["REQUEST_URI"]); … | |
I have been plagued by an issue for the past couple of days and I am yet to find a solution. I have an service installed at several customer sites. This service grabs data from a database, packages it up and then submits it to a web service hosted on … | |
Please find the details in Link. I an Trying To Create A sope Api The Details Are Mentioned In The LInk Below Please Help Me to Do It https://drive.google.com/file/d/0Bz6eK1ligNKUOUFwNEZvX0VpNXc/edit?usp=sharing [Click Here](https://drive.google.com/file/d/0Bz6eK1ligNKUOUFwNEZvX0VpNXc/edit?usp=sharing) | |
Hello, I am new to phonegap.I have used web API in my code but it's giving "error O"(android emulator on windows).What i shuld do now?? How to rectify the problem??thanks in advance | |
Hello; I got some kind of infection or something last week, which caused my virus software not to update, and finally my computer to totally crash and would not reboot. I successfully recovered my system from an image (it was one level up of messy from actual system restore - … | |
Hello, I am just of few hours in google calendar API use. for making an event i wrote code as below: require_once 'Zend/Loader.php'; Zend_Loader::loadClass('Zend_Gdata'); Zend_Loader::loadClass('Zend_Gdata_Calendar'); $user = 'abc@gmail.com'; $pass = 'hihello'; $service = Zend_Gdata_Calendar::AUTH_SERVICE_NAME; // predefined service name for calendar $client = Zend_Gdata_ClientLogin::getHttpClient($user,$pass,$service); function createEvent ($client, $title = 'Tennis with … | |
Hello, I have one application, which sends invitation to users for event. We are on google apps. So I want to use Google application for Calender. I read documents regarding that. And want to develop now. But how? Anyone has done this? I want that when my application sends invitation … | |
Hello! This is mainly a curiousity question, I may apply it to something in the near future though just as an added twist... :D So essentially I want to figure out how a progress indicator is created in the shell. For example with wget or something you may see a … | |
how to create a api in php mysql step by step process. kiendely help me i am new to this api process. |
The End.